Changeset 10624 for code/trunk/src/orxonox/chat/ChatManager.cc
- Timestamp:
- Oct 4, 2015, 9:12:21 PM (10 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
-
code/trunk/src/orxonox/chat/ChatManager.cc
r9667 r10624 30 30 #include "ChatListener.h" 31 31 32 #include "util/ScopedSingletonManager.h"33 32 #include "core/CoreIncludes.h" 34 #include "core/command/ConsoleCommand.h" 33 #include "core/singleton/ScopedSingletonIncludes.h" 34 #include "core/command/ConsoleCommandIncludes.h" 35 35 #include "network/Host.h" 36 36 … … 40 40 namespace orxonox 41 41 { 42 ManageScopedSingleton(ChatManager, ScopeID::R oot, false);42 ManageScopedSingleton(ChatManager, ScopeID::ROOT, false); 43 43 44 44 SetConsoleCommand("chat", &ChatManager::chat).defaultValue(1, NETWORK_PEER_ID_BROADCAST); 45 46 RegisterAbstractClass(ChatManager).inheritsFrom<NetworkChatListener>(); 45 47 46 48 ChatManager::ChatManager() … … 113 115 // ChatListener // 114 116 ////////////////////////////////////////////////////////////////////////// 115 RegisterAbstractClass(ChatListener).inheritsFrom (Class(Listable));117 RegisterAbstractClass(ChatListener).inheritsFrom<Listable>(); 116 118 117 119 ChatListener::ChatListener()
Note: See TracChangeset
for help on using the changeset viewer.