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
15 class TQDomElement;
16 class TQString;
17 class TQT_DBusError;
18 class TQT_DBusObjectPath;
19 
20 namespace org
21 {
22 namespace bluez
23 {
24 namespace obex
25 {
26 
27 class Agent1Interface : public TQT_DBusObjectBase
28 {
29 public:
30  virtual ~Agent1Interface() {}
31 
32  static void buildIntrospectionData(TQDomElement& interfaceElement);
33 
34 public:
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 
47 protected:
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 
54 protected: // implement sending replies
55  virtual void handleMethodReply(const TQT_DBusMessage& reply) = 0;
56 
57 protected: // 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 
66 protected:
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)
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)