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
30 static const TQCString interface() { return TQCString("org.bluez.ProfileManager1"); }
31
32protected:
33 virtual bool RegisterProfile(const TQT_DBusObjectPath& profile, const TQString& UUID, const TQMap< TQString, TQT_DBusVariant >& options, TQT_DBusError& error) = 0;
34
35 virtual bool UnregisterProfile(const TQT_DBusObjectPath& profile, TQT_DBusError& error) = 0;
36
37protected: // implement sending replies
38 virtual void handleMethodReply(const TQT_DBusMessage& reply) = 0;
39
40protected: // usually no need to reimplement
41 virtual bool handleMethodCall(const TQT_DBusMessage& message);
42
43 TQT_DBusMessage callRegisterProfile(const TQT_DBusMessage& message);
44
45 TQT_DBusMessage callUnregisterProfile(const TQT_DBusMessage& message);
46
47}; // class ProfileManager1Interface
48
49}; // namespace bluez
50
51}; // namespace org
52
53#endif //PROFILEMANAGER1INTERFACE_H_INCLUDED
54
55// End of File
56
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)