tdebluez
libtdeobex/interfaces/objectmanagerInterface.h
Go to the documentation of this file.
1 // File autogenerated
2 
3 #if !defined(OBJECTMANAGERINTERFACE_H_INCLUDED)
4 #define OBJECTMANAGERINTERFACE_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 TQStringList;
14 class TQT_DBusError;
15 class TQT_DBusObjectPath;
16 template <typename K> class TQT_DBusDataMap;
17 
18 namespace org
19 {
20 namespace freedesktop
21 {
22 namespace DBus
23 {
24 
25 class ObjectManagerInterface : public TQT_DBusObjectBase
26 {
27 public:
29 
30  static void buildIntrospectionData(TQDomElement& interfaceElement);
31 
32  static const TQCString interface() { return TQCString("org.freedesktop.DBus.ObjectManager"); }
33 
34 protected: // implement sending signals
35  virtual bool handleSignalSend(const TQT_DBusMessage& reply) = 0;
36  virtual TQString objectPath() const = 0;
37 
38 protected: // for sending D-Bus signals
39  virtual bool emitInterfacesAdded(const TQT_DBusObjectPath& object, const TQT_DBusDataMap< TQString >& interfaces);
40 
41  virtual bool emitInterfacesRemoved(const TQT_DBusObjectPath& object, const TQStringList& interfaces);
42 
43 
44 protected:
45  virtual bool GetManagedObjects(TQT_DBusDataMap< TQT_DBusObjectPath >& objects, TQT_DBusError& error) = 0;
46 
47 protected: // implement sending replies
48  virtual void handleMethodReply(const TQT_DBusMessage& reply) = 0;
49 
50 protected: // usually no need to reimplement
51  virtual bool handleMethodCall(const TQT_DBusMessage& message);
52 
53  TQT_DBusMessage callGetManagedObjects(const TQT_DBusMessage& message);
54 
55 }; // class ObjectManagerInterface
56 
57 }; // namespace DBus
58 
59 }; // namespace freedesktop
60 
61 }; // namespace org
62 
63 #endif //OBJECTMANAGERINTERFACE_H_INCLUDED
64 
65 // End of File
66 
virtual void handleMethodReply(const TQT_DBusMessage &reply)=0
virtual bool handleMethodCall(const TQT_DBusMessage &message)
static void buildIntrospectionData(TQDomElement &interfaceElement)
virtual bool emitInterfacesAdded(const TQT_DBusObjectPath &object, const TQT_DBusDataMap< TQString > &interfaces)
virtual bool emitInterfacesRemoved(const TQT_DBusObjectPath &object, const TQStringList &interfaces)
virtual bool handleSignalSend(const TQT_DBusMessage &reply)=0
TQT_DBusMessage callGetManagedObjects(const TQT_DBusMessage &message)
virtual bool GetManagedObjects(TQT_DBusDataMap< TQT_DBusObjectPath > &objects, TQT_DBusError &error)=0