mirror of https://github.com/tongzx/nt5src
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.2 KiB
70 lines
2.2 KiB
// CardEnum.cpp -- Card Enumerator
|
|
|
|
// (c) Copyright Schlumberger Technology Corp., unpublished work, created
|
|
// 2001. This computer program includes Confidential, Proprietary
|
|
// Information and is a Trade Secret of Schlumberger Technology Corp. All
|
|
// use, disclosure, and/or reproduction is prohibited unless authorized
|
|
// in writing. All Rights Reserved.
|
|
|
|
#if !defined(SLBCSP_CARDENUMERATOR_H)
|
|
#define SLBCSP_CARDENUMERATOR_H
|
|
|
|
#include "CardFinder.h"
|
|
|
|
class CardEnumerator
|
|
: protected CardFinder
|
|
{
|
|
public:
|
|
// Types
|
|
// C'tors/D'tors
|
|
explicit
|
|
CardEnumerator();
|
|
|
|
virtual
|
|
~CardEnumerator();
|
|
|
|
// Operators
|
|
// Operations
|
|
std::auto_ptr<std::list<HCardContext> >
|
|
Cards();
|
|
|
|
// Access
|
|
// Predicates
|
|
// Static Variables
|
|
protected:
|
|
|
|
// Types
|
|
// C'tors/D'tors
|
|
// Operators
|
|
// Operations
|
|
virtual void
|
|
DoOnError();
|
|
|
|
virtual void
|
|
DoProcessSelection(DWORD dwStatus,
|
|
OpenCardNameType &ropencardname,
|
|
bool &rfContinue);
|
|
|
|
// Access
|
|
// Predicates
|
|
|
|
virtual bool
|
|
DoIsValid();
|
|
|
|
// Variables
|
|
|
|
private:
|
|
// Types
|
|
// C'tors/D'tors
|
|
// Operators
|
|
// Operations
|
|
// Access
|
|
// Predicates
|
|
// Variables
|
|
|
|
std::list<HCardContext> m_lhcardctx;
|
|
|
|
};
|
|
|
|
#endif // SLBCSP_CARDFINDER_H
|
|
|