File indexing completed on 2024-05-05 17:41:27
0001 /* 0002 SPDX-FileCopyrightText: 2021 Aditya Mehra <aix.m@outlook.com> 0003 0004 SPDX-License-Identifier: MIT 0005 */ 0006 0007 #ifndef ENVREADER_H 0008 #define ENVREADER_H 0009 0010 #include <QObject> 0011 #include <QVariant> 0012 #include "bigscreenplugin_dbus.h" 0013 0014 class EnvReader : public QObject 0015 { 0016 Q_OBJECT 0017 0018 public: 0019 explicit EnvReader(QObject *parent = Q_NULLPTR); 0020 0021 public Q_SLOTS: 0022 QString getValue(const QString &name); 0023 void kScreenConfChange(); 0024 0025 Q_SIGNALS: 0026 void configChangeReceived(); 0027 0028 private: 0029 BigscreenDbusAdapterInterface* m_bigscreenDbusAdapterInterface; 0030 }; 0031 0032 #endif // ENVREADER_H