Port things from MSN to WLM plugin:
[kdenetwork.git] / kopete / protocols / wlm / wlmserver.h
blob6f9f581c27ee4bfc60f8cfb55793cecf4d1e8518
1 /*
2 wlmserver.h - Kopete Wlm Protocol
4 Copyright (c) 2008 by Tiago Salem Herrmann <tiagosh@gmail.com>
5 Kopete (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org>
7 *************************************************************************
8 * *
9 * This library is free software; you can redistribute it and/or *
10 * modify it under the terms of the GNU General Public *
11 * License as published by the Free Software Foundation; either *
12 * version 2 of the License, or (at your option) any later version. *
13 * *
14 *************************************************************************
17 #ifndef WLMSERVER_H
18 #define WLMSERVER_H
19 #include <QObject>
20 #include "wlmlibmsn.h"
22 class WlmAccount;
23 class WlmServer:public QObject
25 Q_OBJECT public:
26 WlmAccount * m_account;
27 QString m_accountID;
28 QString m_password;
29 Callbacks cb;
30 WlmServer (WlmAccount * account, QString & m_accountID,
31 QString & m_password);
32 ~WlmServer ();
33 void WlmConnect ( const QString& server, uint port );
34 void WlmDisconnect ();
35 MSN::NotificationServerConnection * mainConnection;
36 std::string myFriendlyName;
37 std::string myUsername;
40 #endif