tdebluez
libtdeobex/interfaces/agent1Interface.h
Go to the documentation of this file.
1// File autogenerated
2
3#if !defined(AGENT1INTERFACE_H_INCLUDED)
4#define AGENT1INTERFACE_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 TQT_DBusError;
18class TQT_DBusObjectPath;
19
20namespace org
21{
22namespace bluez
23{
24namespace obex
25{
26
27class Agent1Interface : public TQT_DBusObjectBase
28{
29public:
30 virtual ~Agent1Interface() {}
31
32 static void buildIntrospectionData(TQDomElement& interfaceElement);
33
34public:
35 virtual void ReleaseAsyncReply(int asyncCallId);
36
37 virtual void ReleaseAsyncError(int asyncCallId, const TQT_DBusError& error);
38
39 virtual void AuthorizePushAsyncReply(int asyncCallId, const TQString& filepath);
40
41 virtual void AuthorizePushAsyncError(int asyncCallId, const TQT_DBusError& error);
42
43 virtual void CancelAsyncReply(int asyncCallId);
44
45 virtual void CancelAsyncError(int asyncCallId, const TQT_DBusError& error);
46
47protected:
48 virtual void ReleaseAsync(int asyncCallId) = 0;
49
50 virtual void AuthorizePushAsync(int asyncCallId, const TQT_DBusObjectPath& transfer) = 0;
51
52 virtual void CancelAsync(int asyncCallId) = 0;
53
54protected: // implement sending replies
55 virtual void handleMethodReply(const TQT_DBusMessage& reply) = 0;
56
57protected: // usually no need to reimplement
58 virtual bool handleMethodCall(const TQT_DBusMessage& message);
59
60 void callReleaseAsync(const TQT_DBusMessage& message);
61
62 void callAuthorizePushAsync(const TQT_DBusMessage& message);
63
64 void callCancelAsync(const TQT_DBusMessage& message);
65
66protected:
68
69}; // class Agent1Interface
70
71}; // namespace obex
72
73}; // namespace bluez
74
75}; // namespace org
76
77#endif //AGENT1INTERFACE_H_INCLUDED
78
79// End of File
80
void callReleaseAsync(const TQT_DBusMessage &message)
virtual void ReleaseAsyncError(int asyncCallId, const TQT_DBusError &error)
virtual void CancelAsyncError(int asyncCallId, const TQT_DBusError &error)
virtual void handleMethodReply(const TQT_DBusMessage &reply)=0
virtual void CancelAsync(int asyncCallId)=0
virtual void AuthorizePushAsyncReply(int asyncCallId, const TQString &filepath)
void callAuthorizePushAsync(const TQT_DBusMessage &message)
virtual void AuthorizePushAsync(int asyncCallId, const TQT_DBusObjectPath &transfer)=0
virtual void ReleaseAsync(int asyncCallId)=0
static void buildIntrospectionData(TQDomElement &interfaceElement)
virtual void AuthorizePushAsyncError(int asyncCallId, const TQT_DBusError &error)
virtual bool handleMethodCall(const TQT_DBusMessage &message)