/* * This file was generated by qdbusxml2cpp version 0.8 * Command line was: qdbusxml2cpp ./dde-dock/frame/dbusinterface/xml/org.deepin.dde.Audio1.xml -a ./dde-dock/toolGenerate/qdbusxml2cpp/org.deepin.dde.Audio1Adaptor -i ./dde-dock/toolGenerate/qdbusxml2cpp/org.deepin.dde.Audio1.h * * qdbusxml2cpp is Copyright (C) 2017 The Qt Company Ltd. * * This is an auto-generated file. * This file may have been hand-edited. Look for HAND-EDIT comments * before re-generating it. */ #ifndef ORG_DEEPIN_DDE_AUDIO1ADAPTOR_H #define ORG_DEEPIN_DDE_AUDIO1ADAPTOR_H #include #include #include "./dde-dock/toolGenerate/qdbusxml2cpp/org.deepin.dde.Audio1.h" QT_BEGIN_NAMESPACE class QByteArray; template class QList; template class QMap; class QString; class QStringList; class QVariant; QT_END_NAMESPACE /* * Adaptor class for interface org.deepin.dde.Audio1 */ class Audio1Adaptor: public QDBusAbstractAdaptor { Q_OBJECT Q_CLASSINFO("D-Bus Interface", "org.deepin.dde.Audio1") Q_CLASSINFO("D-Bus Introspection", "" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" " \n" "") public: Audio1Adaptor(QObject *parent); virtual ~Audio1Adaptor(); public: // PROPERTIES Q_PROPERTY(QString BluetoothAudioMode READ bluetoothAudioMode) QString bluetoothAudioMode() const; Q_PROPERTY(QStringList BluetoothAudioModeOpts READ bluetoothAudioModeOpts) QStringList bluetoothAudioModeOpts() const; Q_PROPERTY(QString Cards READ cards) QString cards() const; Q_PROPERTY(QString CardsWithoutUnavailable READ cardsWithoutUnavailable) QString cardsWithoutUnavailable() const; Q_PROPERTY(QDBusObjectPath DefaultSink READ defaultSink) QDBusObjectPath defaultSink() const; Q_PROPERTY(QDBusObjectPath DefaultSource READ defaultSource) QDBusObjectPath defaultSource() const; Q_PROPERTY(bool IncreaseVolume READ increaseVolume WRITE setIncreaseVolume) bool increaseVolume() const; void setIncreaseVolume(bool value); Q_PROPERTY(double MaxUIVolume READ maxUIVolume) double maxUIVolume() const; Q_PROPERTY(bool ReduceNoise READ reduceNoise WRITE setReduceNoise) bool reduceNoise() const; void setReduceNoise(bool value); Q_PROPERTY(QList SinkInputs READ sinkInputs) QList sinkInputs() const; Q_PROPERTY(QList Sinks READ sinks) QList sinks() const; Q_PROPERTY(QList Sources READ sources) QList sources() const; public Q_SLOTS: // METHODS bool IsPortEnabled(uint in0, const QString &in1); void Reset(); void SetBluetoothAudioMode(const QString &in0); void SetDefaultSink(const QString &in0); void SetDefaultSource(const QString &in0); void SetPort(uint in0, const QString &in1, int in2); void SetPortEnabled(uint in0, const QString &in1, bool in2); Q_SIGNALS: // SIGNALS void PortEnabledChanged(uint in0, const QString &in1, bool in2); }; #endif