Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
2.4 KiB

  1. // CntrFinder.h -- Container Finder class header
  2. // (c) Copyright Schlumberger Technology Corp., unpublished work, created
  3. // 1999. This computer program includes Confidential, Proprietary
  4. // Information and is a Trade Secret of Schlumberger Technology Corp. All
  5. // use, disclosure, and/or reproduction is prohibited unless authorized
  6. // in writing. All Rights Reserved.
  7. #if !defined(SLBCSP_CNTRFINDER_H)
  8. #define SLBCSP_CNTRFINDER_H
  9. #include "cciCont.h"
  10. #include "CardFinder.h"
  11. #include "HAdptvCntr.h"
  12. #include "Secured.h"
  13. class ContainerFinder
  14. : public CardFinder
  15. {
  16. public:
  17. // Types
  18. // C'tors/D'tors
  19. ContainerFinder(DialogDisplayMode ddm,
  20. HWND hwnd = 0,
  21. CString const &rsDialogTitle = StringResource(IDS_SEL_SLB_CRYPTO_CARD).AsCString());
  22. virtual ~ContainerFinder();
  23. // Operators
  24. // Operations
  25. HContainer
  26. Find(CSpec const &rcsContainer);
  27. HAdaptiveContainerKey
  28. MakeAdaptiveContainerKey();
  29. // Access
  30. // Predicates
  31. protected:
  32. // Types
  33. // C'tors/D'tors
  34. // Operators
  35. // Operations
  36. void
  37. ContainerFound(HContainer hcntr);
  38. void
  39. DoDisconnect();
  40. virtual void
  41. DoOnError();
  42. // Access
  43. HContainer
  44. ContainerFound() const;
  45. // Predicates
  46. bool
  47. DoIsValid();
  48. // Variables
  49. private:
  50. // Types
  51. // C'tors/D'tors
  52. // Operators
  53. // Operations
  54. // Access
  55. // Predicates
  56. // Variables
  57. HContainer m_hcntr;
  58. };
  59. #endif // SLBCSP_CNTRFINDER_H