Changeset 2112 for code/branches/objecthierarchy/src/network/Server.cc
- Timestamp:
- Nov 2, 2008, 12:54:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/network/Server.cc
r2048 r2112 60 60 #include "ChatListener.h" 61 61 62 namespace network62 namespace orxonox 63 63 { 64 64 const unsigned int MAX_FAILURES = 20; … … 317 317 318 318 // inform all the listeners 319 orxonox::ObjectList<ClientConnectionListener>::iterator listener = orxonox::ObjectList<ClientConnectionListener>::begin();319 ObjectList<ClientConnectionListener>::iterator listener = ObjectList<ClientConnectionListener>::begin(); 320 320 while(listener){ 321 321 listener->clientConnected(newid); … … 366 366 367 367 // inform all the listeners 368 orxonox::ObjectList<ClientConnectionListener>::iterator listener = orxonox::ObjectList<ClientConnectionListener>::begin();368 ObjectList<ClientConnectionListener>::iterator listener = ObjectList<ClientConnectionListener>::begin(); 369 369 while(listener){ 370 370 listener->clientDisconnected(client->getID()); … … 404 404 } 405 405 // COUT(1) << "Player " << Host::getPlayerID() << ": " << message << std::endl; 406 for ( orxonox::ObjectList<ChatListener>::iterator it = orxonox::ObjectList<ChatListener>::begin(); it != orxonox::ObjectList<ChatListener>::end(); ++it)406 for (ObjectList<ChatListener>::iterator it = ObjectList<ChatListener>::begin(); it != ObjectList<ChatListener>::end(); ++it) 407 407 it->incomingChat(message, clientID); 408 408
Note: See TracChangeset
for help on using the changeset viewer.