tdebluez
libtdeobex/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
11 class TQDomElement;
12 class TQString;
13 class TQT_DBusError;
14 
15 namespace org
16 {
17 namespace freedesktop
18 {
19 namespace DBus
20 {
21 
22 class IntrospectableInterface : public TQT_DBusObjectBase
23 {
24 public:
26 
27  static void buildIntrospectionData(TQDomElement& interfaceElement);
28 
29  static const TQCString interface() { return TQCString("org.freedesktop.DBus.Introspectable"); }
30 
31 protected:
32  virtual bool Introspect(TQString& xml, TQT_DBusError& error) = 0;
33 
34 protected: // implement sending replies
35  virtual void handleMethodReply(const TQT_DBusMessage& reply) = 0;
36 
37 protected: // 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 
TQT_DBusMessage callIntrospect(const TQT_DBusMessage &message)
virtual bool handleMethodCall(const TQT_DBusMessage &message)
static void buildIntrospectionData(TQDomElement &interfaceElement)
virtual void handleMethodReply(const TQT_DBusMessage &reply)=0
virtual bool Introspect(TQString &xml, TQT_DBusError &error)=0