// File autogenerated

#if !defined(TRANSFER1INTERFACE_H_INCLUDED)
#define TRANSFER1INTERFACE_H_INCLUDED

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

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

namespace org
{
namespace bluez
{
namespace obex
{

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

    static void buildIntrospectionData(TQDomElement& interfaceElement);

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

protected:
    virtual bool Cancel(TQT_DBusError& error) = 0;

    virtual bool Suspend(TQT_DBusError& error) = 0;

    virtual bool Resume(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 callCancel(const TQT_DBusMessage& message);

    TQT_DBusMessage callSuspend(const TQT_DBusMessage& message);

    TQT_DBusMessage callResume(const TQT_DBusMessage& message);

}; // class Transfer1Interface

}; // namespace obex

}; // namespace bluez

}; // namespace org

#endif //TRANSFER1INTERFACE_H_INCLUDED

// End of File

