mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
20 lines
492 B
C++
20 lines
492 B
C++
#ifndef CSETTINGSREADER_H
|
|
#define CSETTINGSREADER_H
|
|
|
|
#include "Interface/SettingsReader.h"
|
|
|
|
class CSettingsReader : public ISettingsReader
|
|
{
|
|
public:
|
|
virtual bool getValue(std::string key, std::string *value)=0;
|
|
|
|
|
|
std::string getValue(std::string key,std::string def);
|
|
std::string getValue(std::string key);
|
|
int getValue(std::string key, int def);
|
|
float getValue(std::string key, float def);
|
|
int64 getValue(std::string key, int64 def);
|
|
};
|
|
|
|
#endif //CSETTINGSREADER_H
|