Last change
on this file since 3106 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
|
Rev | Line | |
---|
[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] | 8 | namespace 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.