#ifndef _TelepathyQt4_examples_roster_roster_window_h_HEADER_GUARD_
#define _TelepathyQt4_examples_roster_roster_window_h_HEADER_GUARD_
#include <QMainWindow>
#include <TelepathyQt4/Account>
#include <TelepathyQt4/Types>
namespace Tp {
class PendingOperation;
}
class RosterWidget;
class RosterWindow : public QMainWindow
{
Q_OBJECT
public:
RosterWindow(const QString &accountPath, QWidget *parent = 0);
virtual ~RosterWindow();
private Q_SLOTS:
void onAccountReady(Tp::PendingOperation *op);
void onAccountConnectionChanged(const Tp::ConnectionPtr &conn);
private:
void setupGui();
Tp::AccountPtr mAccount;
RosterWidget *mRoster;
};
#endif