Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 27, 2007, 11:30:17 PM (16 years ago)
Author:
nicolasc
Message:

cleaned up network, builds with CML

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/merger/src/network/Client.h

    r278 r285  
    22// C++ Interface: Client
    33//
    4 // Description: 
     4// Description:
    55//
    66//
     
    1616#include <string>
    1717
    18 #include "network/ClientConnection.h"
    19 #include "network/PacketManager.h"
     18#include "ClientConnection.h"
     19#include "PacketManager.h"
    2020
    2121
     
    2626 * This class implements all necessary function for the network communication
    2727 * It is the root class of the network module
    28  * 
     28 *
    2929 */
    3030class Client : PacketDecoder{
     
    3333  Client(std::string address, int port);
    3434  Client(const char *address, int port);
    35  
     35
    3636  bool establishConnection();
    3737  bool closeConnection();
    38  
     38
    3939  bool sendMouse(double x, double y);
    4040  bool sendKeyboard(char key_code);
    41  
     41
    4242  bool addMouse(double x, double y);
    4343  bool addKeyboard(char key_code);
    44  
     44
    4545  void update();
    46  
     46
    4747  private:
    4848  ClientConnection client_connection;
    4949  PacketGenerator pck_gen;
    50  
     50
    5151  //const char *server_address;
    5252  //int port;
Note: See TracChangeset for help on using the changeset viewer.