/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c Meter -p generated/com_deepin_daemon_audio_meter ../xml/com.deepin.daemon.Audio.Meter.xml
 *
 * qdbusxml2cpp-fix is Copyright (C) 2016 Deepin Technology Co., Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef COM_DEEPIN_DAEMON_AUDIO_METER_H
#define COM_DEEPIN_DAEMON_AUDIO_METER_H

#include <QtCore/QObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>

#include <DBusExtendedAbstractInterface>
#include <QtDBus/QtDBus>


/*
 * Proxy class for interface com.deepin.daemon.Audio.Meter
 */
class __MeterPrivate;
class __Meter : public DBusExtendedAbstractInterface
{
    Q_OBJECT

public:
    static inline const char *staticInterfaceName()
    { return "com.deepin.daemon.Audio.Meter"; }

public:
    explicit __Meter(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);

    ~__Meter();

    Q_PROPERTY(double Volume READ volume NOTIFY VolumeChanged)
    double volume();

public Q_SLOTS: // METHODS
    inline QDBusPendingReply<> Tick()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("Tick"), argumentList);
    }

    inline void TickQueued()
    {
        QList<QVariant> argumentList;

        CallQueued(QStringLiteral("Tick"), argumentList);
    }



Q_SIGNALS: // SIGNALS
    // begin property changed signals
    void VolumeChanged(double  value) const;

public Q_SLOTS:
    void CallQueued(const QString &callName, const QList<QVariant> &args);

private Q_SLOTS:
    void onPendingCallFinished(QDBusPendingCallWatcher *w);
    void onPropertyChanged(const QString &propName, const QVariant &value);

private:
    __MeterPrivate *d_ptr;
};

namespace com {
  namespace deepin {
    namespace daemon {
      namespace audio {
        typedef ::__Meter Meter;
      }
    }
  }
}
#endif
