| Home · All Classes · All Namespaces · Modules · Functions · Files

protocols/cm-wrapper.h
#ifndef _TelepathyQt_examples_protocols_cm_wrapper_h_HEADER_GUARD_
#define _TelepathyQt_examples_protocols_cm_wrapper_h_HEADER_GUARD_
#include <TelepathyQt/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