summaryrefslogtreecommitdiff
path: root/include/mbgl/style/image.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/style/image.hpp')
-rw-r--r--include/mbgl/style/image.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/mbgl/style/image.hpp b/include/mbgl/style/image.hpp
index 528b2ecb95..3877086bd6 100644
--- a/include/mbgl/style/image.hpp
+++ b/include/mbgl/style/image.hpp
@@ -3,12 +3,16 @@
#include <mbgl/util/image.hpp>
#include <mbgl/util/immutable.hpp>
+#include <string>
+
namespace mbgl {
namespace style {
class Image {
public:
- Image(PremultipliedImage&&, float pixelRatio, bool sdf = false);
+ Image(std::string id, PremultipliedImage&&, float pixelRatio, bool sdf = false);
+
+ std::string getID() const;
const PremultipliedImage& getImage() const;