Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 23, 2009, 2:12:44 AM (15 years ago)
Author:
rgrieder
Message:

Cleanup in network plus a few dependency reductions (no enet-function inlines, using enum PacketFlag instead of the enet version)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/netp5/src/network/ClientConnection.h

    r3202 r3209  
    3030#define _ClientConnection_H__
    3131
    32 #include <string>
    33 
    3432#include "NetworkPrereqs.h"
    3533#include "Connection.h"
     
    4139  public:
    4240    ClientConnection();
    43     ~ClientConnection();
     41    virtual ~ClientConnection();
    4442   
    45     void setServerAddress( const std::string& serverAddress ){ enet_address_set_host (this->serverAddress_, serverAddress.c_str()); }
    46     void setPort( unsigned int port ){ this->serverAddress_->port = port; }
     43    void setServerAddress( const std::string& serverAddress );
     44    void setPort( unsigned int port );
    4745   
    4846    ENetEvent *getEvent();
     
    6866
    6967
    70 
    71 
    72 
    73 
    74 
    75 
    7668}
    7769
Note: See TracChangeset for help on using the changeset viewer.