2 tlshandler.h - Kopete Groupwise Protocol
4 Copyright (c) 2004 SUSE Linux AG http://www.suse.com
6 Based on Iris, Copyright (C) 2003 Justin Karneges <justin@affinix.com>
8 Kopete (c) 2002-2004 by the Kopete developers <kopete-devel@kde.org>
10 *************************************************************************
12 * This library is free software; you can redistribute it and/or *
13 * modify it under the terms of the GNU Lesser General Public *
14 * License as published by the Free Software Foundation; either *
15 * version 2 of the License, or (at your option) any later version. *
17 *************************************************************************
20 #ifndef GWTLSHANDLER_H
21 #define GWTLSHANDLER_H
25 //#include<qhostaddress.h>
27 //#include<qcstring.h>
31 class TLSHandler
: public QObject
35 TLSHandler(QObject
*parent
=0);
36 virtual ~TLSHandler();
38 virtual void reset()=0;
39 virtual void startClient(const QString
&host
)=0;
40 virtual void write(const QByteArray
&a
)=0;
41 virtual void writeIncoming(const QByteArray
&a
)=0;
47 void readyRead(const QByteArray
&a
);
48 void readyReadOutgoing(const QByteArray
&a
, int plainBytes
);