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
11class TQDomElement;
12class TQString;
13class TQT_DBusError;
14
15namespace org
16{
17namespace bluez
18{
19namespace obex
20{
21
22class Session1Interface : public TQT_DBusObjectBase
23{
24public:
25 virtual ~Session1Interface() {}
26
27 static void buildIntrospectionData(TQDomElement& interfaceElement);
28
29protected:
30 virtual bool GetCapabilities(TQString& capabilities, TQT_DBusError& error) = 0;
31
32protected: // implement sending replies
33 virtual void handleMethodReply(const TQT_DBusMessage& reply) = 0;
34
35protected: // usually no need to reimplement
36 virtual bool handleMethodCall(const TQT_DBusMessage& message);
37
38 TQT_DBusMessage callGetCapabilities(const TQT_DBusMessage& message);
39
40}; // class Session1Interface
41
42}; // namespace obex
43
44}; // namespace bluez
45
46}; // namespace org
47
48#endif //SESSION1INTERFACE_H_INCLUDED
49
50// End of File
51
static void buildIntrospectionData(TQDomElement &interfaceElement)
TQT_DBusMessage callGetCapabilities(const TQT_DBusMessage &message)
virtual bool handleMethodCall(const TQT_DBusMessage &message)
virtual bool GetCapabilities(TQString &capabilities, TQT_DBusError &error)=0
virtual void handleMethodReply(const TQT_DBusMessage &reply)=0