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 protected:
30  virtual bool Introspect(TQString& xml, TQT_DBusError& error) = 0;
31 
32 protected: // implement sending replies
33  virtual void handleMethodReply(const TQT_DBusMessage& reply) = 0;
34 
35 protected: // usually no need to reimplement
36  virtual bool handleMethodCall(const TQT_DBusMessage& message);
37 
38  TQT_DBusMessage callIntrospect(const TQT_DBusMessage& message);
39 
40 }; // class IntrospectableInterface
41 
42 }; // namespace DBus
43 
44 }; // namespace freedesktop
45 
46 }; // namespace org
47 
48 #endif //INTROSPECTABLEINTERFACE_H_INCLUDED
49 
50 // End of File
51 
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