diff options
| author | Peter LaFosse <peter@vector35.com> | 2017-06-28 00:29:00 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2017-07-01 10:02:27 -0400 |
| commit | b3a31b101cf7283d753c71e211c78f5f0c1ee54c (patch) | |
| tree | 0ee3172502e0aeca7643cd77b714a91e8e5c5fec /binaryninjaapi.h | |
| parent | 0de62768c8afc5ca27576b59d4591ca8dbbd7cee (diff) | |
Remove need for explicitly initializing settings file
Diffstat (limited to 'binaryninjaapi.h')
| -rw-r--r-- | binaryninjaapi.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 10f021b4..426095b0 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -2866,7 +2866,6 @@ namespace BinaryNinja class Setting { public: - static bool ProcessMainSettingsFile(); static bool GetBool(const std::string& settingGroup, const std::string& name, bool defaultValue); static uint64_t GetInteger(const std::string& settingGroup, const std::string& name, uint64_t defaultValue=0); static std::string GetString(const std::string& settingGroup, const std::string& name, const std::string& defaultValue=""); @@ -2883,25 +2882,6 @@ namespace BinaryNinja static bool IsDouble(const std::string& settingGroup, const std::string& name); }; - class CoreSetting - { - public: - static bool GetBool(const std::string& name, bool defaultValue); - static uint64_t GetInteger(const std::string& name, uint64_t defaultValue=0); - static std::string GetString(const std::string& name, const std::string& defaultValue=""); - static std::vector<uint64_t> GetIntegerList(const std::string& name, const std::vector<uint64_t>& defaultValue={}); - static std::vector<std::string> GetStringList(const std::string& name, const std::vector<std::string>& defaultValue={}); - static double GetDouble(const std::string& name, double defaultValue=0.0); - - static bool IsPresent(const std::string& name); - static bool IsBool(const std::string& name); - static bool IsInteger(const std::string& name); - static bool IsString(const std::string& name); - static bool IsIntegerList(const std::string& name); - static bool IsStringList(const std::string& name); - static bool IsDouble(const std::string& name); - }; - typedef BNMetadataType MetadataType; class Metadata: public CoreRefCountObject<BNMetadata, BNNewMetadataReference, BNFreeMetadata> |
