tdebluez
objectpush1Interface.h
Go to the documentation of this file.
1// File autogenerated
2
3#if !defined(OBJECTPUSH1INTERFACE_H_INCLUDED)
4#define OBJECTPUSH1INTERFACE_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;
14class TQT_DBusObjectPath;
15class TQT_DBusVariant;
16template <typename K, typename V> class TQMap;
17
18namespace org
19{
20namespace bluez
21{
22namespace obex
23{
24
25class ObjectPush1Interface : public TQT_DBusObjectBase
26{
27public:
29
30 static void buildIntrospectionData(TQDomElement& interfaceElement);
31
32 static const TQCString interface() { return TQCString("org.bluez.obex.ObjectPush1"); }
33
34protected:
35 virtual bool SendFile(const TQString& sourcefile, TQT_DBusObjectPath& transfer, TQMap< TQString, TQT_DBusVariant >& properties, TQT_DBusError& error) = 0;
36
37 virtual bool PullBusinessCard(const TQString& targetfile, TQT_DBusObjectPath& transfer, TQMap< TQString, TQT_DBusVariant >& properties, TQT_DBusError& error) = 0;
38
39 virtual bool ExchangeBusinessCards(const TQString& clientfile, const TQString& targetfile, TQT_DBusObjectPath& transfer, TQMap< TQString, TQT_DBusVariant >& properties, TQT_DBusError& error) = 0;
40
41protected: // implement sending replies
42 virtual void handleMethodReply(const TQT_DBusMessage& reply) = 0;
43
44protected: // usually no need to reimplement
45 virtual bool handleMethodCall(const TQT_DBusMessage& message);
46
47 TQT_DBusMessage callSendFile(const TQT_DBusMessage& message);
48
49 TQT_DBusMessage callPullBusinessCard(const TQT_DBusMessage& message);
50
51 TQT_DBusMessage callExchangeBusinessCards(const TQT_DBusMessage& message);
52
53}; // class ObjectPush1Interface
54
55}; // namespace obex
56
57}; // namespace bluez
58
59}; // namespace org
60
61#endif //OBJECTPUSH1INTERFACE_H_INCLUDED
62
63// End of File
64
virtual bool SendFile(const TQString &sourcefile, TQT_DBusObjectPath &transfer, TQMap< TQString, TQT_DBusVariant > &properties, TQT_DBusError &error)=0
virtual bool PullBusinessCard(const TQString &targetfile, TQT_DBusObjectPath &transfer, TQMap< TQString, TQT_DBusVariant > &properties, TQT_DBusError &error)=0
TQT_DBusMessage callExchangeBusinessCards(const TQT_DBusMessage &message)
TQT_DBusMessage callPullBusinessCard(const TQT_DBusMessage &message)
virtual bool handleMethodCall(const TQT_DBusMessage &message)
virtual void handleMethodReply(const TQT_DBusMessage &reply)=0
TQT_DBusMessage callSendFile(const TQT_DBusMessage &message)
static void buildIntrospectionData(TQDomElement &interfaceElement)
virtual bool ExchangeBusinessCards(const TQString &clientfile, const TQString &targetfile, TQT_DBusObjectPath &transfer, TQMap< TQString, TQT_DBusVariant > &properties, TQT_DBusError &error)=0