23 #ifndef _TelepathyQt_readiness_helper_h_HEADER_GUARD_    24 #define _TelepathyQt_readiness_helper_h_HEADER_GUARD_    26 #ifndef IN_TP_QT_HEADER    27 #error IN_TP_QT_HEADER    30 #include <TelepathyQt/Feature>    34 #include <QSharedDataPointer>    35 #include <QStringList>    44 class PendingOperation;
    54     typedef void (*IntrospectFunc)(
void *data);
    61                 const QStringList &dependsOnInterfaces,
    62                 IntrospectFunc introspectFunc,
    63                 void *introspectFuncData,
    64                 bool critical = 
false);
    74         friend struct Private;
    75         QSharedDataPointer<Private> mPriv;
    80             uint currentStatus = 0,
    81             const Introspectables &introspectables = Introspectables(),
    84             uint currentStatus = 0,
    85             const Introspectables &introspectables = Introspectables(),
    89     void addIntrospectables(
const Introspectables &introspectables);
    91     uint currentStatus() 
const;
    92     void setCurrentStatus(uint currentStatus);
    93     void forceCurrentStatus(uint currentStatus);
    95     QStringList interfaces() 
const;
    96     void setInterfaces(
const QStringList &interfaces);
   102     bool isReady(
const Feature &feature,
   103             QString *errorName = 0, QString *errorMessage = 0) 
const;
   104     bool isReady(
const Features &features,
   105             QString *errorName = 0, QString *errorMessage = 0) 
const;
   108     void setIntrospectCompleted(
const Feature &feature, 
bool success,
   109             const QString &errorName = QString(),
   110             const QString &errorMessage = QString());
   111     void setIntrospectCompleted(
const Feature &feature, 
bool success,
   112             const QDBusError &error);
   115     void statusReady(uint status);
   118     TP_QT_NO_EXPORT 
void iterateIntrospection();
   120     TP_QT_NO_EXPORT 
void onProxyInvalidated(
Tp::DBusProxy *proxy,
   121         const QString &errorName, 
const QString &errorMessage);
   125     friend struct Private;
 The RefCounted class is a base class for shared objects used by SharedPtr. 
Definition: shared-ptr.h:42
The ReadinessHelper::Introspectable class represents a introspectable used by ReadinessHelper. 
Definition: readiness-helper.h:56
The PendingReady class represents the features requested and the reply to a request for an object to ...
Definition: pending-ready.h:40
The Features class represents a list of Feature. 
Definition: feature.h:61
QMap< Feature, Introspectable > Introspectables
Definition: readiness-helper.h:77
Definition: abstract-adaptor.cpp:31
The ReadinessHelper class is a helper class used by the introspection process. 
Definition: readiness-helper.h:48
The Feature class represents a feature that can be enabled on demand. 
Definition: feature.h:41
The DBusProxy class is a base class representing a remote object available over D-Bus. 
Definition: dbus-proxy.h:42