d933eae338
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@12865 178a84e3-b1eb-0310-8ba1-8eac791a3b58
24 lines
510 B
C++
24 lines
510 B
C++
#ifndef CLIENT_NETWORK_MANAGER_HPP
|
|
#define CLIENT_NETWORK_MANAGER_HPP
|
|
|
|
#include "network_manager.hpp"
|
|
|
|
|
|
class ClientNetworkManager : public NetworkManager
|
|
{
|
|
public:
|
|
ClientNetworkManager();
|
|
virtual ~ClientNetworkManager();
|
|
|
|
virtual void run();
|
|
|
|
void connect(uint32_t ip, uint16_t port);
|
|
|
|
virtual void packetReceived(char* data);
|
|
virtual void sendPacket(char* data);
|
|
protected:
|
|
private:
|
|
};
|
|
|
|
#endif // CLIENT_NETWORK_MANAGER_HPP
|