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
11class TQDomElement;
12class TQString;
13class TQStringList;
14class TQT_DBusError;
15class TQT_DBusObjectPath;
16template <typename K> class TQT_DBusDataMap;
17
18namespace org
19{
20namespace freedesktop
21{
22namespace DBus
23{
24
25class ObjectManagerInterface : public TQT_DBusObjectBase
26{
27public:
29
30 static void buildIntrospectionData(TQDomElement& interfaceElement);
31
32 static const TQCString interface() { return TQCString("org.freedesktop.DBus.ObjectManager"); }
33
34protected: // implement sending signals
35 virtual bool handleSignalSend(const TQT_DBusMessage& reply) = 0;
36 virtual TQString objectPath() const = 0;
37
38protected: // 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
44protected:
45 virtual bool GetManagedObjects(TQT_DBusDataMap< TQT_DBusObjectPath >& objects, TQT_DBusError& error) = 0;
46
47protected: // implement sending replies
48 virtual void handleMethodReply(const TQT_DBusMessage& reply) = 0;
49
50protected: // 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