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

protocols/protocols.h

    #ifndef _TelepathyQt_examples_protocols_protocols_h_HEADER_GUARD_
    #define _TelepathyQt_examples_protocols_protocols_h_HEADER_GUARD_

    #include <TelepathyQt/Types>

    #include "cm-wrapper.h"

    #include <QList>
    #include <QObject>

    using namespace Tp;

    namespace Tp
    {
    class PendingOperation;
    }

    class Protocols : public QObject
    {
        Q_OBJECT

    public:
       Protocols();
       ~Protocols();

    private Q_SLOTS:
        void onListNamesFinished(Tp::PendingOperation *op);
        void onCMWrapperFinished();

    private:
        QList<CMWrapper *> mCMWrappers;
        int cmWrappersFinished;
    };

    #endif