Thermostat pour piloter jusqu'à 4 radiateurs avec fil pilote
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
577 B

// SPDX-License-Identifier: GPL-3.0-or-later
/*
* Qt mutizone MQTT thermostat
*
* Copyright (C) 2019 Richard Genoud
*
*/
#ifndef SETTINGS_H
#define SETTINGS_H
#include <QStringList>
#include <QSettings>
#define NB_ZONES 4
class Settings : public QSettings
{
Q_OBJECT
public:
static Settings *getInstance(void);
QStringList m_rooms_names;
QStringList m_sensor_topics;
QStringList m_availability_topics;
private:
Settings();
~Settings();
static Settings *_singleton;
};
#endif // SETTINGS_H
/* vim: set tabstop=8 shiftwidth=8 softtabstop=0 noexpandtab: */