tdebluez
session1Interface.h
Go to the documentation of this file.
1 // File autogenerated
2 
3 #if !defined(SESSION1INTERFACE_H_INCLUDED)
4 #define SESSION1INTERFACE_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 
15 namespace org
16 {
17 namespace bluez
18 {
19 namespace obex
20 {
21 
22 class Session1Interface : public TQT_DBusObjectBase
23 {
24 public:
25  virtual ~Session1Interface() {}
26 
27  static void buildIntrospectionData(TQDomElement& interfaceElement);
28 
29  static const TQCString interface() { return TQCString("org.bluez.obex.Session1"); }
30 
31 protected:
32  virtual bool GetCapabilities(TQString& capabilities, TQT_DBusError& error) = 0;
33 
34 protected: // implement sending replies
35  virtual void handleMethodReply(const TQT_DBusMessage& reply) = 0;
36 
37 protected: // usually no need to reimplement
38  virtual bool handleMethodCall(const TQT_DBusMessage& message);
39 
40  TQT_DBusMessage callGetCapabilities(const TQT_DBusMessage& message);
41 
42 }; // class Session1Interface
43 
44 }; // namespace obex
45 
46 }; // namespace bluez
47 
48 }; // namespace org
49 
50 #endif //SESSION1INTERFACE_H_INCLUDED
51 
52 // End of File
53 
static void buildIntrospectionData(TQDomElement &interfaceElement)
TQT_DBusMessage callGetCapabilities(const TQT_DBusMessage &message)
virtual bool handleMethodCall(const TQT_DBusMessage &message)
static const TQCString interface()
virtual bool GetCapabilities(TQString &capabilities, TQT_DBusError &error)=0
virtual void handleMethodReply(const TQT_DBusMessage &reply)=0