summaryrefslogtreecommitdiff
path: root/include/mbgl/storage/database_file_source.hpp
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2020-02-25 17:50:12 +0200
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2020-02-25 23:15:47 +0200
commit7c48611f9ee04e1320e1667ea0dae7c355a9935b (patch)
tree31b46f31184833165ee1d53f137e674fcc3069fb /include/mbgl/storage/database_file_source.hpp
parent3c05bd984ada9e146e614165f009b9b45fb05992 (diff)
downloadqtlocation-mapboxgl-7c48611f9ee04e1320e1667ea0dae7c355a9935b.tar.gz
[core] Consolidate file source keys in the generic FileSource header
Thus we do not need to include specific headers to use `{set|get}Property` API with key constants.
Diffstat (limited to 'include/mbgl/storage/database_file_source.hpp')
-rw-r--r--include/mbgl/storage/database_file_source.hpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/mbgl/storage/database_file_source.hpp b/include/mbgl/storage/database_file_source.hpp
index 9fb9ccdb3e..81e5315fd8 100644
--- a/include/mbgl/storage/database_file_source.hpp
+++ b/include/mbgl/storage/database_file_source.hpp
@@ -7,12 +7,6 @@
namespace mbgl {
-// Properties that may be supported by database file sources.
-
-// Property to set database mode. When set, database opens in read-only mode; database opens in read-write-create mode
-// otherwise. type: bool
-constexpr const char* READ_ONLY_MODE_KEY = "read-only-mode";
-
class ResourceOptions;
// TODO: Split DatabaseFileSource into Ambient cache and Database interfaces.