00001 #ifndef _IrrConsole_Test_NodeViewer_h_ 00002 #define _IrrConsole_Test_NodeViewer_h_ 00003 #include "IrrConsole/console.h" 00005 class NodeViewer 00006 { 00007 public: 00008 NodeViewer(){} 00009 virtual ~NodeViewer(){} 00010 00011 virtual void showModel()=0; 00012 virtual void showMap()=0; 00013 virtual void showTestNode()=0; 00014 virtual void hideNode()=0; 00015 }; 00017 class TestCommand_SHOWNODE : public IC_Command 00018 { 00019 public: 00020 TestCommand_SHOWNODE(NodeViewer *pNV); 00021 virtual ~TestCommand_SHOWNODE(); 00022 bool invoke(const array<WideString>& args, IC_Dispatcher *pDispatcher, IC_MessageSink* pOutput); 00023 private: 00024 NodeViewer* nv; 00025 00026 }; 00028 class TestCommand_HIDENODE : public IC_Command 00029 { 00030 public: 00031 TestCommand_HIDENODE(NodeViewer *pNV); 00032 virtual ~TestCommand_HIDENODE(); 00033 bool invoke(const array<WideString>& args, IC_Dispatcher *pDispatcher, IC_MessageSink* pOutput); 00034 private: 00035 NodeViewer* nv; 00036 00037 }; 00038 #endif