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.

24 lines
401 B

  1. #ifndef __CMD_H__
  2. #define __CMD_H__
  3. class CCmd : public CObject {
  4. public:
  5. CCmd();
  6. ~CCmd();
  7. BOOL bInit();
  8. BOOL bInit(int argc, char* argv[]);
  9. virtual BOOL ProcessToken(LPSTR lpszStr)=0;
  10. private:
  11. //
  12. // member function
  13. //
  14. BOOL ParseCmdLine();
  15. //
  16. // member data
  17. //
  18. int m_argc;
  19. char** m_argv;
  20. };
  21. #endif