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
34 static const TQCString interface() { return TQCString("org.bluez.obex.Agent1"); }
35
36public:
37 virtual void ReleaseAsyncReply(int asyncCallId);
38
39 virtual void ReleaseAsyncError(int asyncCallId, const TQT_DBusError& error);
40
41 virtual void AuthorizePushAsyncReply(int asyncCallId, const TQString& filepath);
42
43 virtual void AuthorizePushAsyncError(int asyncCallId, const TQT_DBusError& error);
44
45 virtual void CancelAsyncReply(int asyncCallId);
46
47 virtual void CancelAsyncError(int asyncCallId, const TQT_DBusError& error);
48
49protected:
50 virtual void ReleaseAsync(int asyncCallId) = 0;
51
52 virtual void AuthorizePushAsync(int asyncCallId, const TQT_DBusObjectPath& transfer) = 0;
53
54 virtual void CancelAsync(int asyncCallId) = 0;
55
56protected: // implement sending replies
57 virtual void handleMethodReply(const TQT_DBusMessage& reply) = 0;
58
59protected: // usually no need to reimplement
60 virtual bool handleMethodCall(const TQT_DBusMessage& message);
61
62 void callReleaseAsync(const TQT_DBusMessage& message);
63
64 void callAuthorizePushAsync(const TQT_DBusMessage& message);
65
66 void callCancelAsync(const TQT_DBusMessage& message);
67
68protected:
70
71}; // class Agent1Interface
72
73}; // namespace obex
74
75}; // namespace bluez
76
77}; // namespace org
78
79#endif //AGENT1INTERFACE_H_INCLUDED
80
81// End of File
82
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)
void callCancelAsync(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)