19 lines
484 B
C++
19 lines
484 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace ddkit {
|
|
namespace base {
|
|
|
|
class IConfigWrite {
|
|
public:
|
|
virtual void setStringValue(const std::string& key, const std::string& value) = 0;
|
|
virtual void setIntValue(const std::string& key, int value) = 0;
|
|
virtual void setInt64Value(const std::string& key, int64_t value) = 0;
|
|
virtual void setBoolValue(const std::string& key, bool value) = 0;
|
|
virtual ~IConfigWrite() = default;
|
|
};
|
|
|
|
} // namespace base
|
|
} // namespace ddkit
|