tdebluez
profilemanager1Interface.h
Go to the documentation of this file.
1// File autogenerated
2
3#if !defined(PROFILEMANAGER1INTERFACE_H_INCLUDED)
4#define PROFILEMANAGER1INTERFACE_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 TQT_DBusError;
14class TQT_DBusObjectPath;
15class TQT_DBusVariant;
16template <typename K, typename V> class TQMap;
17
18namespace org
19{
20namespace bluez
21{
22
23class ProfileManager1Interface : public TQT_DBusObjectBase
24{
25public:
27
28 static void buildIntrospectionData(TQDomElement& interfaceElement);
29
30protected:
31 virtual bool RegisterProfile(const TQT_DBusObjectPath& profile, const TQString& UUID, const TQMap< TQString, TQT_DBusVariant >& options, TQT_DBusError& error) = 0;
32
33 virtual bool UnregisterProfile(const TQT_DBusObjectPath& profile, TQT_DBusError& error) = 0;
34
35protected: // implement sending replies
36 virtual void handleMethodReply(const TQT_DBusMessage& reply) = 0;
37
38protected: // usually no need to reimplement
39 virtual bool handleMethodCall(const TQT_DBusMessage& message);
40
41 TQT_DBusMessage callRegisterProfile(const TQT_DBusMessage& message);
42
43 TQT_DBusMessage callUnregisterProfile(const TQT_DBusMessage& message);
44
45}; // class ProfileManager1Interface
46
47}; // namespace bluez
48
49}; // namespace org
50
51#endif //PROFILEMANAGER1INTERFACE_H_INCLUDED
52
53// End of File
54
static void buildIntrospectionData(TQDomElement &interfaceElement)
virtual void handleMethodReply(const TQT_DBusMessage &reply)=0
virtual bool handleMethodCall(const TQT_DBusMessage &message)
virtual bool RegisterProfile(const TQT_DBusObjectPath &profile, const TQString &UUID, const TQMap< TQString, TQT_DBusVariant > &options, TQT_DBusError &error)=0
virtual bool UnregisterProfile(const TQT_DBusObjectPath &profile, TQT_DBusError &error)=0
TQT_DBusMessage callRegisterProfile(const TQT_DBusMessage &message)
TQT_DBusMessage callUnregisterProfile(const TQT_DBusMessage &message)