Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/network/ClientConnectionListener.h @ 2557

Last change on this file since 2557 was 2171, checked in by landauf, 16 years ago

merged revisions 2111-2170 from objecthierarchy branch back to trunk.

  • Property svn:eol-style set to native
File size: 582 bytes
RevLine 
[1938]1#ifndef _NETWORK_CLIENTCONNECTIONLISTENER__
2#define _NETWORK_CLIENTCONNECTIONLISTENER__
3
4#include "NetworkPrereqs.h"
5#include "ClientInformation.h"
6#include "core/OrxonoxClass.h"
7
[2171]8namespace orxonox{
[1938]9
[2171]10  class _NetworkExport ClientConnectionListener : virtual public OrxonoxClass
[1938]11  {
[1940]12    friend class Server;
13
[1939]14  public:
[1938]15    ClientConnectionListener();
[1940]16    virtual ~ClientConnectionListener() {}
[1938]17
18    void getConnectedClients();
19
[1940]20  protected:
[1938]21    virtual void clientConnected(unsigned int clientID) = 0;
22    virtual void clientDisconnected(unsigned int clientID) = 0;
23  };
24
25}
26
27
28#endif
Note: See TracBrowser for help on using the repository browser.