25 lines
377 B
C++
25 lines
377 B
C++
#ifndef __CMD_H__
|
|
#define __CMD_H__
|
|
|
|
class CCmd : public CObject {
|
|
public:
|
|
CCmd();
|
|
~CCmd();
|
|
|
|
BOOL bInit();
|
|
BOOL bInit(int argc, char* argv[]);
|
|
|
|
virtual BOOL ProcessToken(LPSTR lpszStr)=0;
|
|
private:
|
|
//
|
|
// member function
|
|
//
|
|
BOOL ParseCmdLine();
|
|
//
|
|
// member data
|
|
//
|
|
int m_argc;
|
|
char** m_argv;
|
|
};
|
|
|
|
#endif |