00001 #ifndef _IrrConsole_Default_Cmds_h_
00002 #define _IrrConsole_Default_Cmds_h_
00003
00004 #include "includes.h"
00005 #include "utils.h"
00006 #include "console.h"
00007
00008
00009
00010
00011 class IC_Command_ECHO : public IC_Command
00012 {
00013 public:
00014 IC_Command_ECHO();
00015 virtual ~IC_Command_ECHO();
00016 bool invoke(const array<WideString>& args, IC_Dispatcher* pDispatcher, IC_MessageSink* pOutput);
00017 };
00018
00019 class IC_Command_HELP : public IC_Command
00020 {
00021 public:
00022 IC_Command_HELP();
00023 virtual ~IC_Command_HELP();
00024 bool invoke(const array<WideString>& args, IC_Dispatcher* pDispatcher, IC_MessageSink* pOutput);
00025 };
00026
00027 class IC_Command_LIST : public IC_Command
00028 {
00029 public:
00030 IC_Command_LIST();
00031 virtual ~IC_Command_LIST();
00032 bool invoke(const array<WideString>& args, IC_Dispatcher* pDispatcher, IC_MessageSink* pOutput);
00033 };
00034
00035 class IC_Command_DRIVER_INFO : public IC_Command
00036 {
00037 public:
00038 IC_Command_DRIVER_INFO(irr::IrrlichtDevice *pDevice);
00039 virtual ~IC_Command_DRIVER_INFO();
00040 bool invoke(const array<WideString>& args, IC_Dispatcher* pDispatcher, IC_MessageSink* pOutput);
00041 private:
00042 irr::IrrlichtDevice *device;
00043 };
00044
00045 class IC_Command_EXIT : public IC_Command
00046 {
00047 public:
00048 IC_Command_EXIT();
00049 virtual ~IC_Command_EXIT();
00050 bool invoke(const array<WideString>& args, IC_Dispatcher* pDispatcher, IC_MessageSink* pOutput);
00051
00052 };
00053
00054 class IC_Command_QUIT : public IC_Command
00055 {
00056 public:
00057 IC_Command_QUIT();
00058 virtual ~IC_Command_QUIT();
00059 bool invoke(const array<WideString>& args, IC_Dispatcher* pDispatcher, IC_MessageSink* pOutput);
00060
00061 };
00062
00063 class IC_Command_CLS : public IC_Command
00064 {
00065 public:
00066 IC_Command_CLS();
00067 virtual ~IC_Command_CLS();
00068 bool invoke(const array<WideString>& args, IC_Dispatcher* pDispatcher, IC_MessageSink* pOutput);
00069
00070 };
00071 #endif