Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/objecthierarchy/src/network/ClientConnectionListener.h @ 1940

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

did some first (and very unfinished) steps to deal with different players on server and client

  • Property svn:eol-style set to native
File size: 591 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 network{
9
10  class _NetworkExport ClientConnectionListener : virtual public orxonox::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.