2
* Copyright (C) 2009 Chase Douglas
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as published
6
* by the Free Software Foundation.
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
13
* You should have received a copy of the GNU General Public License along
14
* with this program; if not, write to the Free Software Foundation, Inc.,
15
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
* In addition, as a special exception, the copyright holders give
18
* permission to link the code of portions of this program with the
19
* OpenSSL library under certain conditions as described in each
20
* individual source file, and distribute linked combinations
22
* You must obey the GNU General Public License in all respects
23
* for all of the code used other than OpenSSL. If you modify
24
* file(s) with this exception, you may extend this exception to your
25
* version of the file(s), but you are not obligated to do so. If you
26
* do not wish to do so, delete this exception statement from your
35
#include "Connection.h"
37
class Client : public QObject {
41
Client(QString &hostname, quint16 port);
42
bool write(QByteArray message);
49
Connection connection;