X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fsrc%2Fmastervolume.h;h=04ce3b5b8527ee323d90129ed524c171c75e5e3e;hb=a3c4beb8a9d1a01a4a29434e8319be7ce3f0d42f;hp=6ae0aad8b3b0045480cf51dd6b4229cd9198736c;hpb=03cbba3657ff4cd07a9386a67411153a95dd0c9e;p=apps%2Fhomescreen.git diff --git a/homescreen/src/mastervolume.h b/homescreen/src/mastervolume.h index 6ae0aad..04ce3b5 100644 --- a/homescreen/src/mastervolume.h +++ b/homescreen/src/mastervolume.h @@ -16,7 +16,6 @@ #include #include -#include "../qafbwebsocketclient.h" class MasterVolume : public QObject @@ -25,24 +24,24 @@ class MasterVolume Q_PROPERTY (uint32_t volume READ getVolume WRITE setVolume NOTIFY VolumeChanged) private: - QAfbWebsocketClient m_client; - QUrl m_url; qint32 m_volume; public: MasterVolume(QObject* parent = nullptr); ~MasterVolume() = default; - Q_INVOKABLE void open(const QUrl& url); + //Q_INVOKABLE void open(const QUrl& url); Q_INVOKABLE qint32 getVolume() const; Q_INVOKABLE void setVolume(qint32 val); private slots: +#if 0 void onClientConnected(); void onClientDisconnected(); void onClientError(QAbstractSocket::SocketError se); void onClientEventReceived(QString name, const QJsonValue& data); void TryOpen(); +#endif signals: void VolumeChanged();