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 c5e8d7f156..e8d02e41b0 100644
--- a/include/mbgl/style/style.hpp
+++ b/include/mbgl/style/style.hpp
@@ -13,16 +13,19 @@
namespace mbgl {
class FileSource;
+class ResourceOptions;
namespace style {
class Light;
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&);
@@ -71,8 +74,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