summaryrefslogtreecommitdiff
path: root/src/mbgl/style/parser.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-06-14 12:36:46 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-06-15 11:28:34 -0700
commit87edff4047ddaf5a49b31c060bfae55d74d6c0cb (patch)
tree099ec42890a4449b538dfd70666e3f27044a0a40 /src/mbgl/style/parser.hpp
parenta56f65a4d81b2ee7e1b76816b125c3a7516ceb2a (diff)
downloadqtlocation-mapboxgl-87edff4047ddaf5a49b31c060bfae55d74d6c0cb.tar.gz
[core] Use variant<std::string, Tileset> in TileSource
A tile source can either specify a URL to TileJSON, or inline TileJSON.
Diffstat (limited to 'src/mbgl/style/parser.hpp')
-rw-r--r--src/mbgl/style/parser.hpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mbgl/style/parser.hpp b/src/mbgl/style/parser.hpp
index a04f73bde4..6dac6dedcd 100644
--- a/src/mbgl/style/parser.hpp
+++ b/src/mbgl/style/parser.hpp
@@ -14,14 +14,8 @@
#include <forward_list>
namespace mbgl {
-
-class Tileset;
-
namespace style {
-std::unique_ptr<Tileset> parseTileJSON(const std::string& json, const std::string& sourceURL, SourceType, uint16_t tileSize);
-std::unique_ptr<Tileset> parseTileJSON(const JSValue&);
-
Filter parseFilter(const JSValue&);
class Parser {