/*
 * This file was generated by qdbusxml2cpp version 0.7
 * Command line was: qdbusxml2cpp -m -a playeradaptor -c PlayerAdaptor -i dbus/playerdbushandler.h -l PlayerDBusHandler /usr/src/ports/kdeplasma-addons/kdeplasma-addons-4.14.3-3.i686/src/kdeplasma-addons-4.14.3/applets/mediaplayer/dbus/org.freedesktop.MediaPlayer.player.xml
 *
 * qdbusxml2cpp is Copyright (C) 2015 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#include "playeradaptor.h"
#include <QtCore/QMetaObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>

/*
 * Implementation of adaptor class PlayerAdaptor
 */

PlayerAdaptor::PlayerAdaptor(PlayerDBusHandler *parent)
    : QDBusAbstractAdaptor(parent)
{
    // constructor
    setAutoRelaySignals(true);
}

PlayerAdaptor::~PlayerAdaptor()
{
    // destructor
}

int PlayerAdaptor::GetCaps()
{
    // handle method call org.freedesktop.MediaPlayer.GetCaps
    return parent()->GetCaps();
}

QVariantMap PlayerAdaptor::GetMetadata()
{
    // handle method call org.freedesktop.MediaPlayer.GetMetadata
    return parent()->GetMetadata();
}

DBusStatus PlayerAdaptor::GetStatus()
{
    // handle method call org.freedesktop.MediaPlayer.GetStatus
    return parent()->GetStatus();
}

void PlayerAdaptor::Pause()
{
    // handle method call org.freedesktop.MediaPlayer.Pause
    parent()->Pause();
}

void PlayerAdaptor::Play()
{
    // handle method call org.freedesktop.MediaPlayer.Play
    parent()->Play();
}

void PlayerAdaptor::PlayPause()
{
    // handle method call org.freedesktop.MediaPlayer.PlayPause
    parent()->PlayPause();
}

int PlayerAdaptor::PositionGet()
{
    // handle method call org.freedesktop.MediaPlayer.PositionGet
    return parent()->PositionGet();
}

void PlayerAdaptor::PositionSet(int progress)
{
    // handle method call org.freedesktop.MediaPlayer.PositionSet
    parent()->PositionSet(progress);
}

void PlayerAdaptor::Stop()
{
    // handle method call org.freedesktop.MediaPlayer.Stop
    parent()->Stop();
}

int PlayerAdaptor::VolumeGet()
{
    // handle method call org.freedesktop.MediaPlayer.VolumeGet
    return parent()->VolumeGet();
}

void PlayerAdaptor::VolumeSet(int in0)
{
    // handle method call org.freedesktop.MediaPlayer.VolumeSet
    parent()->VolumeSet(in0);
}


#include "playeradaptor.moc"
