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
11 class TQDomElement;
12 class TQString;
13 class TQT_DBusError;
14 class TQT_DBusObjectPath;
15 class TQT_DBusVariant;
16 template <typename K, typename V> class TQMap;
17 
18 namespace org
19 {
20 namespace bluez
21 {
22 
23 class ProfileManager1Interface : public TQT_DBusObjectBase
24 {
25 public:
27 
28  static void buildIntrospectionData(TQDomElement& interfaceElement);
29 
30 protected:
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 
35 protected: // implement sending replies
36  virtual void handleMethodReply(const TQT_DBusMessage& reply) = 0;
37 
38 protected: // 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 
org::bluez::ProfileManager1Interface::callRegisterProfile
TQT_DBusMessage callRegisterProfile(const TQT_DBusMessage &message)
Definition: profilemanager1Interface.cpp:65
org::bluez::ProfileManager1Interface::handleMethodCall
virtual bool handleMethodCall(const TQT_DBusMessage &message)
Definition: profilemanager1Interface.cpp:119
org::bluez::ProfileManager1Interface::handleMethodReply
virtual void handleMethodReply(const TQT_DBusMessage &reply)=0
org
Definition: adapter1Interface.cpp:22
org::bluez::ProfileManager1Interface::RegisterProfile
virtual bool RegisterProfile(const TQT_DBusObjectPath &profile, const TQString &UUID, const TQMap< TQString, TQT_DBusVariant > &options, TQT_DBusError &error)=0
org::bluez::ProfileManager1Interface::buildIntrospectionData
static void buildIntrospectionData(TQDomElement &interfaceElement)
Definition: profilemanager1Interface.cpp:25
org::bluez::ProfileManager1Interface::~ProfileManager1Interface
virtual ~ProfileManager1Interface()
Definition: profilemanager1Interface.h:26
TQMap
Definition: adapter1Interface.h:17
org::bluez::ProfileManager1Interface::callUnregisterProfile
TQT_DBusMessage callUnregisterProfile(const TQT_DBusMessage &message)
Definition: profilemanager1Interface.cpp:93
org::bluez::ProfileManager1Interface::UnregisterProfile
virtual bool UnregisterProfile(const TQT_DBusObjectPath &profile, TQT_DBusError &error)=0
org::bluez::ProfileManager1Interface
Definition: profilemanager1Interface.h:23