eVaf
Main Page
Namespaces
Classes
Files
File List
File Members
iconfig.h
Go to the documentation of this file.
1
20
#ifndef __COMMON_ICONFIG_H
21
# define __COMMON_ICONFIG_H
22
23
#include "
libcommon.h
"
24
25
#include <QObject>
26
#include <QString>
27
#include <QVariant>
28
29
namespace
eVaf
{
30
namespace
Common {
31
62
class
COMMON_EXPORT
iConfig
:
public
QObject
63
{
64
Q_OBJECT
65
66
public
:
67
69
iConfig
() :
QObject
() {}
70
72
virtual
~iConfig
() {}
73
84
static
iConfig
* instance();
85
100
virtual
QVariant getValue(QString
const
& paramName, QVariant
const
& defaultValue)
const
= 0;
101
120
virtual
bool
setValue(QString
const
& paramName, QVariant
const
& value,
bool
commit =
true
) = 0;
121
122
};
123
124
125
}
// namespace eVaf::Common
126
}
// namespace eVaf
127
128
#endif // iconfig.h
COMMON_EXPORT
#define COMMON_EXPORT
Definition:
libcommon.h:27
eVaf::Common::iConfig
eVaf configuration interface.
Definition:
iconfig.h:62
libcommon.h
QObject
eVaf::Common::iConfig::iConfig
iConfig()
Interface constructor.
Definition:
iconfig.h:69
eVaf::Common::iConfig::~iConfig
virtual ~iConfig()
Empty virtual destructor.
Definition:
iconfig.h:72
eVaf
Global eVaf namespace.
Definition:
engine.h:37
libs
Common
iconfig.h
Generated by
1.8.11