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.
25 lines
401 B
25 lines
401 B
#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
|