summaryrefslogtreecommitdiff
path: root/include/mbgl/style/style.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/style/style.hpp')
-rw-r--r--include/mbgl/style/style.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/mbgl/style/style.hpp b/include/mbgl/style/style.hpp
index 83d6ad5bb4..1b39c3cbf3 100644
--- a/include/mbgl/style/style.hpp
+++ b/include/mbgl/style/style.hpp
@@ -11,6 +11,7 @@
namespace mbgl {
class FileSource;
+class ResourceOptions;
namespace style {
@@ -18,10 +19,12 @@ class Light;
class Image;
class Source;
class Layer;
+class StyleImpl;
class Style {
public:
Style(std::shared_ptr<FileSource>, float pixelRatio);
+ Style(const ResourceOptions& resourceOptions, float pixelRatio);
~Style();
void loadJSON(const std::string&);
@@ -70,8 +73,7 @@ public:
std::unique_ptr<Layer> removeLayer(const std::string& layerID);
// Private implementation
- class Impl;
- const std::unique_ptr<Impl> impl;
+ const std::unique_ptr<StyleImpl> impl;
};
} // namespace style