tdebluez
device1Interface.h
Go to the documentation of this file.
1// File autogenerated
2
3#if !defined(DEVICE1INTERFACE_H_INCLUDED)
4#define DEVICE1INTERFACE_H_INCLUDED
5
6// TQt includes
7#include <tqmap.h>
8
9// TQt D-Bus includes
10#include <tqdbuserror.h>
11#include <tqdbusmessage.h>
12#include <tqdbusobject.h>
13
14// forward declarations
15class TQDomElement;
16class TQString;
17class TQStringList;
18class TQT_DBusError;
19class TQT_DBusObjectPath;
20class TQT_DBusVariant;
21
22namespace org
23{
24namespace bluez
25{
26
27class Device1Interface : public TQT_DBusObjectBase
28{
29public:
30 virtual ~Device1Interface() {}
31
32 static void buildIntrospectionData(TQDomElement& interfaceElement);
33
34public:
35 virtual void DisconnectAsyncReply(int asyncCallId);
36
37 virtual void DisconnectAsyncError(int asyncCallId, const TQT_DBusError& error);
38
39 virtual void ConnectAsyncReply(int asyncCallId);
40
41 virtual void ConnectAsyncError(int asyncCallId, const TQT_DBusError& error);
42
43 virtual void ConnectProfileAsyncReply(int asyncCallId);
44
45 virtual void ConnectProfileAsyncError(int asyncCallId, const TQT_DBusError& error);
46
47 virtual void DisconnectProfileAsyncReply(int asyncCallId);
48
49 virtual void DisconnectProfileAsyncError(int asyncCallId, const TQT_DBusError& error);
50
51 virtual void PairAsyncReply(int asyncCallId);
52
53 virtual void PairAsyncError(int asyncCallId, const TQT_DBusError& error);
54
55 virtual void CancelPairingAsyncReply(int asyncCallId);
56
57 virtual void CancelPairingAsyncError(int asyncCallId, const TQT_DBusError& error);
58
59protected:
60 virtual void DisconnectAsync(int asyncCallId) = 0;
61
62 virtual void ConnectAsync(int asyncCallId) = 0;
63
64 virtual void ConnectProfileAsync(int asyncCallId, const TQString& UUID) = 0;
65
66 virtual void DisconnectProfileAsync(int asyncCallId, const TQString& UUID) = 0;
67
68 virtual void PairAsync(int asyncCallId) = 0;
69
70 virtual void CancelPairingAsync(int asyncCallId) = 0;
71
72protected: // implement sending replies
73 virtual void handleMethodReply(const TQT_DBusMessage& reply) = 0;
74
75protected: // usually no need to reimplement
76 virtual bool handleMethodCall(const TQT_DBusMessage& message);
77
78 void callDisconnectAsync(const TQT_DBusMessage& message);
79
80 void callConnectAsync(const TQT_DBusMessage& message);
81
82 void callConnectProfileAsync(const TQT_DBusMessage& message);
83
84 void callDisconnectProfileAsync(const TQT_DBusMessage& message);
85
86 void callPairAsync(const TQT_DBusMessage& message);
87
88 void callCancelPairingAsync(const TQT_DBusMessage& message);
89
90protected:
92
93}; // class Device1Interface
94
95}; // namespace bluez
96
97}; // namespace org
98
99#endif //DEVICE1INTERFACE_H_INCLUDED
100
101// End of File
102
virtual void ConnectProfileAsync(int asyncCallId, const TQString &UUID)=0
void callConnectProfileAsync(const TQT_DBusMessage &message)
virtual void ConnectProfileAsyncError(int asyncCallId, const TQT_DBusError &error)
void callCancelPairingAsync(const TQT_DBusMessage &message)
virtual void ConnectAsyncError(int asyncCallId, const TQT_DBusError &error)
virtual void ConnectAsync(int asyncCallId)=0
virtual void DisconnectProfileAsyncReply(int asyncCallId)
void callDisconnectAsync(const TQT_DBusMessage &message)
virtual void CancelPairingAsyncError(int asyncCallId, const TQT_DBusError &error)
virtual void DisconnectProfileAsync(int asyncCallId, const TQString &UUID)=0
virtual void CancelPairingAsyncReply(int asyncCallId)
virtual void DisconnectAsyncError(int asyncCallId, const TQT_DBusError &error)
virtual void DisconnectProfileAsyncError(int asyncCallId, const TQT_DBusError &error)
virtual bool handleMethodCall(const TQT_DBusMessage &message)
TQMap< int, TQT_DBusMessage > m_asyncCalls
virtual void DisconnectAsync(int asyncCallId)=0
virtual void handleMethodReply(const TQT_DBusMessage &reply)=0
static void buildIntrospectionData(TQDomElement &interfaceElement)
void callPairAsync(const TQT_DBusMessage &message)
void callConnectAsync(const TQT_DBusMessage &message)
virtual void DisconnectAsyncReply(int asyncCallId)
virtual void PairAsyncReply(int asyncCallId)
virtual void ConnectProfileAsyncReply(int asyncCallId)
void callDisconnectProfileAsync(const TQT_DBusMessage &message)
virtual void ConnectAsyncReply(int asyncCallId)
virtual void PairAsync(int asyncCallId)=0
virtual void PairAsyncError(int asyncCallId, const TQT_DBusError &error)
virtual void CancelPairingAsync(int asyncCallId)=0