Leaked source code of windows server 2003
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.

70 lines
2.3 KiB

  1. // CardEnum.cpp -- Card Enumerator
  2. // (c) Copyright Schlumberger Technology Corp., unpublished work, created
  3. // 2001. 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_CARDENUMERATOR_H)
  8. #define SLBCSP_CARDENUMERATOR_H
  9. #include "CardFinder.h"
  10. class CardEnumerator
  11. : protected CardFinder
  12. {
  13. public:
  14. // Types
  15. // C'tors/D'tors
  16. explicit
  17. CardEnumerator();
  18. virtual
  19. ~CardEnumerator();
  20. // Operators
  21. // Operations
  22. std::auto_ptr<std::list<HCardContext> >
  23. Cards();
  24. // Access
  25. // Predicates
  26. // Static Variables
  27. protected:
  28. // Types
  29. // C'tors/D'tors
  30. // Operators
  31. // Operations
  32. virtual void
  33. DoOnError();
  34. virtual void
  35. DoProcessSelection(DWORD dwStatus,
  36. OpenCardNameType &ropencardname,
  37. bool &rfContinue);
  38. // Access
  39. // Predicates
  40. virtual bool
  41. DoIsValid();
  42. // Variables
  43. private:
  44. // Types
  45. // C'tors/D'tors
  46. // Operators
  47. // Operations
  48. // Access
  49. // Predicates
  50. // Variables
  51. std::list<HCardContext> m_lhcardctx;
  52. };
  53. #endif // SLBCSP_CARDFINDER_H