00001
00023 #ifndef _TelepathyQt_pending_ready_h_HEADER_GUARD_
00024 #define _TelepathyQt_pending_ready_h_HEADER_GUARD_
00025
00026 #ifndef IN_TP_QT_HEADER
00027 #error IN_TP_QT_HEADER
00028 #endif
00029
00030 #include <TelepathyQt/DBusProxyFactory>
00031 #include <TelepathyQt/PendingOperation>
00032 #include <TelepathyQt/ReadinessHelper>
00033 #include <TelepathyQt/SharedPtr>
00034
00035 #include <QSet>
00036
00037 namespace Tp
00038 {
00039
00040 class TP_QT_EXPORT PendingReady: public PendingOperation
00041 {
00042 Q_OBJECT
00043 Q_DISABLE_COPY(PendingReady);
00044
00045 public:
00046 ~PendingReady();
00047
00048 DBusProxyPtr proxy() const;
00049
00050 Features requestedFeatures() const;
00051
00052 private Q_SLOTS:
00053 TP_QT_NO_EXPORT void onNestedFinished(Tp::PendingOperation *);
00054
00055 private:
00056 friend class Connection;
00057 friend class DBusProxyFactory;
00058 friend class ReadinessHelper;
00059
00060 TP_QT_NO_EXPORT PendingReady(const SharedPtr<RefCounted> &object, const Features &requestedFeatures);
00061 TP_QT_NO_EXPORT PendingReady(const SharedPtr<DBusProxyFactory> &factory,
00062 const DBusProxyPtr &proxy, const Features &requestedFeatures);
00063
00064 struct Private;
00065 friend struct Private;
00066 Private *mPriv;
00067 };
00068
00069 }
00070
00071 #endif