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 protected: // implement sending signals
33  virtual bool handleSignalSend(const TQT_DBusMessage& reply) = 0;
34  virtual TQString objectPath() const = 0;
35 
36 protected: // for sending D-Bus signals
37  virtual bool emitInterfacesAdded(const TQT_DBusObjectPath& object, const TQT_DBusDataMap< TQString >& interfaces);
38 
39  virtual bool emitInterfacesRemoved(const TQT_DBusObjectPath& object, const TQStringList& interfaces);
40 
41 
42 protected:
43  virtual bool GetManagedObjects(TQT_DBusDataMap< TQT_DBusObjectPath >& objects, TQT_DBusError& error) = 0;
44 
45 protected: // implement sending replies
46  virtual void handleMethodReply(const TQT_DBusMessage& reply) = 0;
47 
48 protected: // usually no need to reimplement
49  virtual bool handleMethodCall(const TQT_DBusMessage& message);
50 
51  TQT_DBusMessage callGetManagedObjects(const TQT_DBusMessage& message);
52 
53 }; // class ObjectManagerInterface
54 
55 }; // namespace DBus
56 
57 }; // namespace freedesktop
58 
59 }; // namespace org
60 
61 #endif //OBJECTMANAGERINTERFACE_H_INCLUDED
62 
63 // End of File
64 
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