tdebluez
libtdebluez/interfaces/introspectableInterface.h
Go to the documentation of this file.
1// File autogenerated
2
3#if !defined(INTROSPECTABLEINTERFACE_H_INCLUDED)
4#define INTROSPECTABLEINTERFACE_H_INCLUDED
5
6// TQt D-Bus includes
7#include <tqdbuserror.h>
8#include <tqdbusobject.h>
9
10// forward declarations
11class TQDomElement;
12class TQString;
13class TQT_DBusError;
14
15namespace org
16{
17namespace freedesktop
18{
19namespace DBus
20{
21
22class IntrospectableInterface : public TQT_DBusObjectBase
23{
24public:
26
27 static void buildIntrospectionData(TQDomElement& interfaceElement);
28
29 static const TQCString interface() { return TQCString("org.freedesktop.DBus.Introspectable"); }
30
31protected:
32 virtual bool Introspect(TQString& xml, TQT_DBusError& error) = 0;
33
34protected: // implement sending replies
35 virtual void handleMethodReply(const TQT_DBusMessage& reply) = 0;
36
37protected: // usually no need to reimplement
38 virtual bool handleMethodCall(const TQT_DBusMessage& message);
39
40 TQT_DBusMessage callIntrospect(const TQT_DBusMessage& message);
41
42}; // class IntrospectableInterface
43
44}; // namespace DBus
45
46}; // namespace freedesktop
47
48}; // namespace org
49
50#endif //INTROSPECTABLEINTERFACE_H_INCLUDED
51
52// End of File
53
virtual void handleMethodReply(const TQT_DBusMessage &reply)=0
virtual bool Introspect(TQString &xml, TQT_DBusError &error)=0