tdebluez
client1Interface.h
Go to the documentation of this file.
1 // File autogenerated
2 
3 #if !defined(CLIENT1INTERFACE_H_INCLUDED)
4 #define CLIENT1INTERFACE_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 namespace obex
23 {
24 
25 class Client1Interface : public TQT_DBusObjectBase
26 {
27 public:
28  virtual ~Client1Interface() {}
29 
30  static void buildIntrospectionData(TQDomElement& interfaceElement);
31 
32  static const TQCString interface() { return TQCString("org.bluez.obex.Client1"); }
33 
34 protected:
35  virtual bool CreateSession(const TQString& destination, const TQMap< TQString, TQT_DBusVariant >& args, TQT_DBusObjectPath& session, TQT_DBusError& error) = 0;
36 
37  virtual bool RemoveSession(const TQT_DBusObjectPath& session, TQT_DBusError& error) = 0;
38 
39 protected: // implement sending replies
40  virtual void handleMethodReply(const TQT_DBusMessage& reply) = 0;
41 
42 protected: // usually no need to reimplement
43  virtual bool handleMethodCall(const TQT_DBusMessage& message);
44 
45  TQT_DBusMessage callCreateSession(const TQT_DBusMessage& message);
46 
47  TQT_DBusMessage callRemoveSession(const TQT_DBusMessage& message);
48 
49 }; // class Client1Interface
50 
51 }; // namespace obex
52 
53 }; // namespace bluez
54 
55 }; // namespace org
56 
57 #endif //CLIENT1INTERFACE_H_INCLUDED
58 
59 // End of File
60 
static void buildIntrospectionData(TQDomElement &interfaceElement)
static const TQCString interface()
TQT_DBusMessage callRemoveSession(const TQT_DBusMessage &message)
virtual bool RemoveSession(const TQT_DBusObjectPath &session, TQT_DBusError &error)=0
virtual bool handleMethodCall(const TQT_DBusMessage &message)
virtual void handleMethodReply(const TQT_DBusMessage &reply)=0
TQT_DBusMessage callCreateSession(const TQT_DBusMessage &message)
virtual bool CreateSession(const TQString &destination, const TQMap< TQString, TQT_DBusVariant > &args, TQT_DBusObjectPath &session, TQT_DBusError &error)=0