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  static const TQCString interface() { return TQCString("org.bluez.ProfileManager1"); }
31 
32 protected:
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 
37 protected: // implement sending replies
38  virtual void handleMethodReply(const TQT_DBusMessage& reply) = 0;
39 
40 protected: // 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)