source: ntrip/trunk/BNC/src/bncsettings.h@ 9454

Last change on this file since 9454 was 8296, checked in by stuerze, 7 years ago

minor changes

File size: 530 bytes
Line 
1#ifndef BNCSETTINGS_H
2#define BNCSETTINGS_H
3
4#include <QMutex>
5#include <QVariant>
6
7class bncSettings {
8 public:
9 bncSettings();
10 ~bncSettings();
11 QVariant value(const QString& key,
12 const QVariant& defaultValue = QVariant()) const;
13 void setValue(const QString &key, const QVariant& value);
14 void remove(const QString& key );
15 bool contains(const QString& key) const;
16 void reRead();
17 void sync();
18 private:
19 void setValue_p(const QString &key, const QVariant& value);
20 static QMutex _mutex;
21};
22
23#endif
Note: See TracBrowser for help on using the repository browser.