mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
22 lines
631 B
C++
22 lines
631 B
C++
#ifndef INTERFACE_SETTINGSREADER_H
|
|
#define INTERFACE_SETTINGSREADER_H
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include "Object.h"
|
|
|
|
class ISettingsReader : public IObject
|
|
{
|
|
public:
|
|
virtual bool getValue(std::string key, std::string *value)=0;
|
|
|
|
virtual std::string getValue(std::string key, std::string def)=0;
|
|
virtual std::string getValue(std::string key)=0;
|
|
virtual int getValue(std::string key, int def)=0;
|
|
virtual float getValue(std::string key, float def)=0;
|
|
virtual int64 getValue(std::string key, int64 def)=0;
|
|
|
|
virtual std::vector<std::string> getKeys() = 0;
|
|
};
|
|
|
|
#endif //INTERFACE_SETTINGSREADER_H
|