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>
43 class PendingOperation;
53 typedef void (*IntrospectFunc)(
void *data);
61 IntrospectFunc introspectFunc,
62 void *introspectFuncData,
63 bool critical =
false);
73 friend struct Private;
79 uint currentStatus = 0,
80 const Introspectables &introspectables = Introspectables(),
83 uint currentStatus = 0,
84 const Introspectables &introspectables = Introspectables(),
88 void addIntrospectables(
const Introspectables &introspectables);
90 uint currentStatus()
const;
91 void setCurrentStatus(uint currentStatus);
92 void forceCurrentStatus(uint currentStatus);
101 bool isReady(
const Feature &feature,
103 bool isReady(
const Features &features,
107 void setIntrospectCompleted(
const Feature &feature,
bool success,
110 void setIntrospectCompleted(
const Feature &feature,
bool success,
114 void statusReady(uint status);
117 TP_QT_NO_EXPORT
void iterateIntrospection();
119 TP_QT_NO_EXPORT
void onProxyInvalidated(
Tp::DBusProxy *proxy,
124 friend struct Private;
Definition: abstract-adaptor.cpp:31
QMap< Feature, Introspectable > Introspectables
Definition: readiness-helper.h:76
The Features class represents a list of Feature.
Definition: feature.h:61
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
The ReadinessHelper class is a helper class used by the introspection process.
Definition: readiness-helper.h:47
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
The PendingReady class represents the features requested and the reply to a request for an object to ...
Definition: pending-ready.h:40
The ReadinessHelper::Introspectable class represents a introspectable used by ReadinessHelper.
Definition: readiness-helper.h:55
The RefCounted class is a base class for shared objects used by SharedPtr.
Definition: shared-ptr.h:42