+ expose onDocumentRestored to Python feature classes

This commit is contained in:
wmayer
2016-01-05 19:05:48 +01:00
parent 53024a6140
commit 061c67cbf8
3 changed files with 40 additions and 0 deletions

View File

@@ -47,6 +47,7 @@ public:
bool execute();
void onBeforeChange(const Property* prop);
void onChanged(const Property* prop);
void onDocumentRestored();
PyObject *getPyObject(void);
private:
@@ -200,6 +201,10 @@ protected:
imp->onChanged(prop);
FeatureT::onChanged(prop);
}
virtual void onDocumentRestored() {
imp->onDocumentRestored();
FeatureT::onDocumentRestored();
}
private:
FeaturePythonImp* imp;