// File autogenerated

#if !defined(MEDIA1INTERFACE_H_INCLUDED)
#define MEDIA1INTERFACE_H_INCLUDED

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

// forward declarations
class TQDomElement;
class TQString;
class TQT_DBusError;
class TQT_DBusObjectPath;
class TQT_DBusVariant;
template <typename K, typename V> class TQMap;

namespace org
{
namespace bluez
{

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

    static void buildIntrospectionData(TQDomElement& interfaceElement);

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

protected:
    virtual bool RegisterEndpoint(const TQT_DBusObjectPath& endpoint, const TQMap< TQString, TQT_DBusVariant >& properties, TQT_DBusError& error) = 0;

    virtual bool UnregisterEndpoint(const TQT_DBusObjectPath& endpoint, TQT_DBusError& error) = 0;

    virtual bool RegisterPlayer(const TQT_DBusObjectPath& player, const TQMap< TQString, TQT_DBusVariant >& properties, TQT_DBusError& error) = 0;

    virtual bool UnregisterPlayer(const TQT_DBusObjectPath& player, 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 callRegisterEndpoint(const TQT_DBusMessage& message);

    TQT_DBusMessage callUnregisterEndpoint(const TQT_DBusMessage& message);

    TQT_DBusMessage callRegisterPlayer(const TQT_DBusMessage& message);

    TQT_DBusMessage callUnregisterPlayer(const TQT_DBusMessage& message);

}; // class Media1Interface

}; // namespace bluez

}; // namespace org

#endif //MEDIA1INTERFACE_H_INCLUDED

// End of File

