[android] return source ownership on remove
This commit is contained in:
committed by
Ivo van Dongen
parent
8d53f9f091
commit
36dea5ea0d
@@ -32,6 +32,13 @@ public:
|
||||
|
||||
virtual ~Source();
|
||||
|
||||
/**
|
||||
* Set core source (ie return ownership after remove)
|
||||
*/
|
||||
void setSource(std::unique_ptr<style::Source>);
|
||||
|
||||
style::Source& get();
|
||||
|
||||
void addToMap(mbgl::Map&);
|
||||
|
||||
virtual jni::jobject* createJavaPeer(jni::JNIEnv&) = 0;
|
||||
|
||||
Reference in New Issue
Block a user