X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fsrc%2Fmastervolume.h;h=04ce3b5b8527ee323d90129ed524c171c75e5e3e;hb=8fb557550d4d3a7b799134af672f499531cc407e;hp=e23e8d175280c5aaf2dc3e41fcb78e99253c1d90;hpb=3229c695fc52e22e773cef89a835915c0bb6d90b;p=apps%2Fhomescreen.git diff --git a/homescreen/src/mastervolume.h b/homescreen/src/mastervolume.h index e23e8d1..04ce3b5 100644 --- a/homescreen/src/mastervolume.h +++ b/homescreen/src/mastervolume.h @@ -16,7 +16,6 @@ #include #include -#include "../helpers/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();