4 #ifndef DJINNI_GENERATED_PREFERENCES_HPP 5 #define DJINNI_GENERATED_PREFERENCES_HPP 11 #ifndef LIBCORE_EXPORT 13 #include <libcore_export.h> 15 #define LIBCORE_EXPORT 19 namespace ledger {
namespace core {
namespace api {
21 class PreferencesEditor;
37 virtual std::string getString(
const std::string & key,
const std::string & fallbackValue) = 0;
43 virtual int32_t getInt(
const std::string & key, int32_t fallbackValue) = 0;
49 virtual int64_t getLong(
const std::string & key, int64_t fallbackValue) = 0;
55 virtual bool getBoolean(
const std::string & key,
bool fallbackValue) = 0;
61 virtual std::vector<std::string> getStringArray(
const std::string & key,
const std::vector<std::string> & fallbackValue) = 0;
67 virtual std::vector<uint8_t> getData(
const std::string & key,
const std::vector<uint8_t> & fallbackValue) = 0;
73 virtual bool contains(
const std::string & key) = 0;
79 virtual std::shared_ptr<PreferencesEditor> edit() = 0;
83 #endif //DJINNI_GENERATED_PREFERENCES_HPP Definition: Account.cpp:8
Definition: Preferences.hpp:29