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;
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
31
32protected: // implement sending signals
33 virtual bool handleSignalSend(const TQT_DBusMessage& reply) = 0;
34 virtual TQString objectPath() const = 0;
35
36protected: // 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
42protected:
44
45protected: // implement sending replies
46 virtual void handleMethodReply(const TQT_DBusMessage& reply) = 0;
47
48protected: // usually no need to reimplement
50
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