// File autogenerated

#if !defined(MEDIACONTROL1INTERFACE_H_INCLUDED)
#define MEDIACONTROL1INTERFACE_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
{

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

    static void buildIntrospectionData(TQDomElement& interfaceElement);

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

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

    virtual bool Pause(TQT_DBusError& error) = 0;

    virtual bool Stop(TQT_DBusError& error) = 0;

    virtual bool Next(TQT_DBusError& error) = 0;

    virtual bool Previous(TQT_DBusError& error) = 0;

    virtual bool VolumeUp(TQT_DBusError& error) = 0;

    virtual bool VolumeDown(TQT_DBusError& error) = 0;

    virtual bool FastForward(TQT_DBusError& error) = 0;

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

    TQT_DBusMessage callPause(const TQT_DBusMessage& message);

    TQT_DBusMessage callStop(const TQT_DBusMessage& message);

    TQT_DBusMessage callNext(const TQT_DBusMessage& message);

    TQT_DBusMessage callPrevious(const TQT_DBusMessage& message);

    TQT_DBusMessage callVolumeUp(const TQT_DBusMessage& message);

    TQT_DBusMessage callVolumeDown(const TQT_DBusMessage& message);

    TQT_DBusMessage callFastForward(const TQT_DBusMessage& message);

    TQT_DBusMessage callRewind(const TQT_DBusMessage& message);

}; // class MediaControl1Interface

}; // namespace bluez

}; // namespace org

#endif //MEDIACONTROL1INTERFACE_H_INCLUDED

// End of File

