Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

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

  • Property svn:eol-style set to native
File size: 582 bytes
Line 
1#ifndef _NETWORK_CLIENTCONNECTIONLISTENER__
2#define _NETWORK_CLIENTCONNECTIONLISTENER__
3
4#include "NetworkPrereqs.h"
5#include "ClientInformation.h"
6#include "core/OrxonoxClass.h"
7
8namespace orxonox{
9
10  class _NetworkExport ClientConnectionListener : virtual public OrxonoxClass
11  {
12    friend class Server;
13
14  public:
15    ClientConnectionListener();
16    virtual ~ClientConnectionListener() {}
17
18    void getConnectedClients();
19
20  protected:
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.