4 #ifndef DJINNI_GENERATED_PREFERENCESEDITOR_HPP 5 #define DJINNI_GENERATED_PREFERENCESEDITOR_HPP 11 #ifndef LIBCORE_EXPORT 13 #include <libcore_export.h> 15 #define LIBCORE_EXPORT 19 namespace ledger {
namespace core {
namespace api {
32 virtual std::shared_ptr<PreferencesEditor> putString(
const std::string & key,
const std::string & value) = 0;
40 virtual std::shared_ptr<PreferencesEditor> putInt(
const std::string & key, int32_t value) = 0;
48 virtual std::shared_ptr<PreferencesEditor> putLong(
const std::string & key, int64_t value) = 0;
56 virtual std::shared_ptr<PreferencesEditor> putBoolean(
const std::string & key,
bool value) = 0;
64 virtual std::shared_ptr<PreferencesEditor> putStringArray(
const std::string & key,
const std::vector<std::string> & value) = 0;
72 virtual std::shared_ptr<PreferencesEditor> putData(
const std::string & key,
const std::vector<uint8_t> & value) = 0;
79 virtual std::shared_ptr<PreferencesEditor>
remove(
const std::string & key) = 0;
82 virtual void commit() = 0;
85 virtual void clear() = 0;
89 #endif //DJINNI_GENERATED_PREFERENCESEDITOR_HPP Definition: PreferencesEditor.hpp:22
Definition: Account.cpp:8