// File autogenerated

#if !defined(AGENT1PROXY_H_INCLUDED)
#define AGENT1PROXY_H_INCLUDED

// TQt includes
#include <tqmap.h>
#include <tqobject.h>

// TQt D-Bus includes
#include <tqdbuserror.h>

// forward declarations
class TQString;
class TQT_DBusConnection;
class TQT_DBusError;
class TQT_DBusMessage;
class TQT_DBusObjectPath;
class TQT_DBusProxy;

namespace org
{
namespace bluez
{
namespace obex
{

class Agent1Proxy : public TQObject
{
    TQ_OBJECT
    
public:
    Agent1Proxy(const TQString& service, const TQString& path, TQObject* parent = 0, const char* name = 0);

    virtual ~Agent1Proxy();

    void setConnection(const TQT_DBusConnection& connection);

signals:
    void AsyncErrorResponseDetected(int asyncCallId, const TQT_DBusError error);

    void ReleaseAsyncReply(int asyncCallId);

    void AuthorizePushAsyncReply(int asyncCallId, const TQString& filepath);

    void CancelAsyncReply(int asyncCallId);


public:
    virtual bool ReleaseAsync(int& asyncCallId, TQT_DBusError& error);

    virtual bool AuthorizePushAsync(int& asyncCallId, const TQT_DBusObjectPath& transfer, TQT_DBusError& error);

    virtual bool CancelAsync(int& asyncCallId, TQT_DBusError& error);

protected slots: // usually no need to reimplement
    virtual void slotHandleAsyncReply(int id, const TQT_DBusMessage& message);

protected:
    TQT_DBusProxy* m_baseProxy;

    TQMap<int, TQString> m_asyncCalls;

private: // Hiding copy constructor and assignment operator
    Agent1Proxy(const Agent1Proxy&);
    Agent1Proxy& operator=(const Agent1Proxy&);
}; // class Agent1Proxy

}; // namespace obex

}; // namespace bluez

}; // namespace org

#endif //AGENT1PROXY_H_INCLUDED

// End of File

