]> jfr.im git - irc/gameservirc.git/blob - gameserv/aClient.h
New autoconf
[irc/gameservirc.git] / gameserv / aClient.h
1 #ifndef ACLIENT_H
2 #define ACLIENT_H
3
4 #include <string.h>
5 #include <iostream.h>
6 #include "player.h"
7
8 class Player; // forward declaration
9
10
11 class aClient {
12
13 friend ostream &operator<<( ostream &output, const aClient &c);
14
15 public:
16 aClient(char *);
17 aClient(const aClient &);
18 aClient();
19 ~aClient();
20
21 void setData(const aClient *);
22 void setNick(char *n) { strcpy(nick, n);};
23 //const char *getNick() { return nick; };
24 char *getNick() { return nick; };
25 Player *stats;
26
27 private:
28 char nick[32];
29 };
30
31 #endif