// File autogenerated

#if !defined(AGENTMANAGER1INTERFACE_H_INCLUDED)
#define AGENTMANAGER1INTERFACE_H_INCLUDED

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

// forward declarations
class TQDomElement;
class TQT_DBusError;
class TQT_DBusObjectPath;

namespace org
{
namespace bluez
{
namespace obex
{

class AgentManager1Interface : public TQT_DBusObjectBase
{
public:
    virtual ~AgentManager1Interface() {}

    static void buildIntrospectionData(TQDomElement& interfaceElement);

    static const TQCString interface() { return TQCString("org.bluez.obex.AgentManager1"); }

protected:
    virtual bool RegisterAgent(const TQT_DBusObjectPath& agent, TQT_DBusError& error) = 0;

    virtual bool UnregisterAgent(const TQT_DBusObjectPath& agent, TQT_DBusError& error) = 0;

protected: // implement sending replies
    virtual void handleMethodReply(const TQT_DBusMessage& reply) = 0;

protected: // usually no need to reimplement
    virtual bool handleMethodCall(const TQT_DBusMessage& message);

    TQT_DBusMessage callRegisterAgent(const TQT_DBusMessage& message);

    TQT_DBusMessage callUnregisterAgent(const TQT_DBusMessage& message);

}; // class AgentManager1Interface

}; // namespace obex

}; // namespace bluez

}; // namespace org

#endif //AGENTMANAGER1INTERFACE_H_INCLUDED

// End of File

