#ifndef _TelepathyQt4_examples_protocols_cm_wrapper_h_HEADER_GUARD_
#define _TelepathyQt4_examples_protocols_cm_wrapper_h_HEADER_GUARD_
#include <TelepathyQt4/Types>
#include <QObject>
#include <QString>
using namespace Tp;
namespace Tp
{
class ConnectionManager;
class PendingOperation;
}
class CMWrapper : public QObject
{
Q_OBJECT
public:
CMWrapper(const QString &cmName, QObject *parent = 0);
~CMWrapper();
ConnectionManagerPtr cm() const;
Q_SIGNALS:
void finished();
private Q_SLOTS:
void onCMReady(Tp::PendingOperation *op);
private:
ConnectionManagerPtr mCM;
};
#endif