1 // Command.h: interface for the CCommand class.
3 //////////////////////////////////////////////////////////////////////
5 #if !defined(AFX_COMMAND_H__A42CF41F_0E40_40BA_A36B_CAAEC8A6D34E__INCLUDED_)
6 #define AFX_COMMAND_H__A42CF41F_0E40_40BA_A36B_CAAEC8A6D34E__INCLUDED_
10 #endif // _MSC_VER > 1000
13 #include "Arguments.h"
15 //---------------------------------------------------------------------------
16 class CCommand
: public COptions
19 CCommand (std::string commandName
);
22 std::string
GetCommandName () const
27 virtual bool SetArguments (CArguments
& args
)
32 virtual void Execute () = 0;
34 virtual void PrintUsage () const;
37 std::string m_CommandName
;
43 #endif // !defined(AFX_COMMAND_H__A42CF41F_0E40_40BA_A36B_CAAEC8A6D34E__INCLUDED_)