summaryrefslogtreecommitdiffstats
path: root/src/client/gui/Client.hpp
blob: a8d237655e1d2e70801aa3f75d514a9c7d2475ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef WC_GUI_CLIENT_H
#define WC_GUI_CLIENT_H

#include "../../const_vars.hpp"
#include "../ClientBase.hpp"
#include "OO_FLTK.hpp"

class Client : public ClientBase {
	ChatBaseOutput **chat;
public:
	Client(const char* ip, int port, ChatBaseOutput **cb_out) 
		: ClientBase(ip, port), chat(cb_out)
	{
		for(int i = 0; i < lines_in_chat; i++)
			cb_out[i]->value("");
	}
	~Client() {}

	virtual void HandleActions() {}
	virtual void AddMessage(const char *msg, int type);
};

#endif