Changeset 6788 for code/branches/chat/src/orxonox/ChatInputHandler.h
- Timestamp:
- Apr 26, 2010, 4:09:23 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/chat/src/orxonox/ChatInputHandler.h
r6777 r6788 39 39 /* project includes */ 40 40 #include <OrxonoxPrereqs.h> 41 #include <InputBuffer.h> 42 #include <Host.h> 41 #include "core/input/InputBuffer.h" 42 #include "core/input/InputManager.h" 43 #include "core/input/InputState.h" 44 #include "../libraries/network/Host.h" 45 #include <core/BaseObject.h> 46 #include <PlayerManager.h> 47 #include <infos/PlayerInfo.h> 48 #include <network/ChatListener.h> 49 #include <core/PathConfig.h> 50 #include <util/Singleton.h> 43 51 44 52 … … 46 54 { 47 55 /* class to handle chat using an InputBuffer */ 48 class _OrxonoxExport ChatInputHandler : public Singleton<ChatInputHandler> 56 class _OrxonoxExport ChatInputHandler : public Singleton<ChatInputHandler>, 57 public OrxonoxClass 49 58 { 50 59 private: … … 54 63 InputBuffer *inpbuf; 55 64 56 /* setup input buffer, the constructor calls this */ 65 /** input state */ 66 InputState *inputState; 67 68 /** setup input buffer, the constructor calls this */ 57 69 void configureInputBuffer(); 70 71 /* singleton pointer */ 72 static ChatInputHandler* singletonPtr_s; 58 73 59 74 public: … … 65 80 void activate(); 66 81 void deactivate(); 82 83 /* callbacks for input handler */ 67 84 68 85 void inputChanged();
Note: See TracChangeset
for help on using the changeset viewer.