summaryrefslogtreecommitdiff
path: root/include/mbgl/util/compression.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-08-25 14:02:40 +0200
committerKonstantin Käfer <mail@kkaefer.com>2014-09-24 16:12:02 +0200
commit28446bed24689b2bac7c8bfbd37741a7fa4fa6be (patch)
tree96f8fd7a68025ec79516d83c5ef6e92209d9473f /include/mbgl/util/compression.hpp
parent83fe11e0fc03dc7851f1e74974bbeb0ee3e37e21 (diff)
downloadqtlocation-mapboxgl-28446bed24689b2bac7c8bfbd37741a7fa4fa6be.tar.gz
compress data and store type
Diffstat (limited to 'include/mbgl/util/compression.hpp')
-rw-r--r--include/mbgl/util/compression.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/mbgl/util/compression.hpp b/include/mbgl/util/compression.hpp
new file mode 100644
index 0000000000..a33b2476a7
--- /dev/null
+++ b/include/mbgl/util/compression.hpp
@@ -0,0 +1,15 @@
+#ifndef MBGL_UTIL_COMPRESSION
+#define MBGL_UTIL_COMPRESSION
+
+#include <string>
+
+namespace mbgl {
+namespace util {
+
+std::string compress(const std::string &raw);
+std::string decompress(const std::string &raw);
+
+}
+}
+
+#endif