tdebluez
libtdebluez/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
:
28
virtual
~ObjectManagerInterface
() {}
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
org::freedesktop::DBus::ObjectManagerInterface::handleSignalSend
virtual bool handleSignalSend(const TQT_DBusMessage &reply)=0
org::freedesktop::DBus::ObjectManagerInterface::objectPath
virtual TQString objectPath() const =0
org::freedesktop::DBus::ObjectManagerInterface::handleMethodReply
virtual void handleMethodReply(const TQT_DBusMessage &reply)=0
org::freedesktop::DBus::ObjectManagerInterface::handleMethodCall
virtual bool handleMethodCall(const TQT_DBusMessage &message)
Definition:
libtdebluez/interfaces/objectmanagerInterface.cpp:132
org::freedesktop::DBus::ObjectManagerInterface::GetManagedObjects
virtual bool GetManagedObjects(TQT_DBusDataMap< TQT_DBusObjectPath > &objects, TQT_DBusError &error)=0
org::freedesktop::DBus::ObjectManagerInterface
Definition:
libtdebluez/interfaces/objectmanagerInterface.h:25
TQT_DBusDataMap
Definition:
libtdebluez/interfaces/objectmanagerInterface.h:16
org
Definition:
adapter1Interface.cpp:22
org::freedesktop::DBus::ObjectManagerInterface::~ObjectManagerInterface
virtual ~ObjectManagerInterface()
Definition:
libtdebluez/interfaces/objectmanagerInterface.h:28
org::freedesktop::DBus::ObjectManagerInterface::buildIntrospectionData
static void buildIntrospectionData(TQDomElement &interfaceElement)
Definition:
libtdebluez/interfaces/objectmanagerInterface.cpp:27
org::freedesktop::DBus::ObjectManagerInterface::emitInterfacesRemoved
virtual bool emitInterfacesRemoved(const TQT_DBusObjectPath &object, const TQStringList &interfaces)
Definition:
libtdebluez/interfaces/objectmanagerInterface.cpp:91
org::freedesktop::DBus::ObjectManagerInterface::emitInterfacesAdded
virtual bool emitInterfacesAdded(const TQT_DBusObjectPath &object, const TQT_DBusDataMap< TQString > &interfaces)
Definition:
libtdebluez/interfaces/objectmanagerInterface.cpp:78
org::freedesktop::DBus::ObjectManagerInterface::callGetManagedObjects
TQT_DBusMessage callGetManagedObjects(const TQT_DBusMessage &message)
Definition:
libtdebluez/interfaces/objectmanagerInterface.cpp:105
src
libtdebluez
interfaces
objectmanagerInterface.h
Generated by
1.8.17