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.

76 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_ACNTRFINDER_H)
  8. #define SLBCSP_ACNTRFINDER_H
  9. #include "cciCont.h"
  10. #include "HAdptvCntr.h"
  11. #include "Secured.h"
  12. #include "CntrFinder.h"
  13. class AContainerFinder
  14. : public ContainerFinder
  15. {
  16. public:
  17. // Types
  18. // C'tors/D'tors
  19. AContainerFinder(DialogDisplayMode ddm,
  20. HWND hwnd = 0,
  21. CString const &rsDialogTitle = StringResource(IDS_SEL_SLB_CRYPTO_CARD).AsCString());
  22. virtual ~AContainerFinder();
  23. // Operators
  24. // Operations
  25. Secured<HAdaptiveContainer>
  26. Find(CSpec const &rcsContainer);
  27. // Access
  28. // Predicates
  29. protected:
  30. // Types
  31. // C'tors/D'tors
  32. // Operators
  33. // Operations
  34. void
  35. ContainerFound(HAdaptiveContainer &rhacntr);
  36. void
  37. DoDisconnect();
  38. virtual void
  39. DoOnError();
  40. // Access
  41. HAdaptiveContainer
  42. ContainerFound() const;
  43. // Predicates
  44. bool
  45. DoIsValid();
  46. // Variables
  47. private:
  48. // Types
  49. // C'tors/D'tors
  50. // Operators
  51. // Operations
  52. // Access
  53. // Predicates
  54. // Variables
  55. HAdaptiveContainer m_hacntr;
  56. };
  57. #endif // SLBCSP_ACNTRFINDER_H