diff options
Diffstat (limited to 'src/bindings/swig')
-rw-r--r-- | src/bindings/swig/wrapped/WrappedDataModel.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/bindings/swig/wrapped/WrappedDataModel.h b/src/bindings/swig/wrapped/WrappedDataModel.h index 6927045..efb4ef1 100644 --- a/src/bindings/swig/wrapped/WrappedDataModel.h +++ b/src/bindings/swig/wrapped/WrappedDataModel.h @@ -37,14 +37,18 @@ class WrappedDataModelExtension : public DataModelExtension { public: WrappedDataModelExtension(); virtual ~WrappedDataModelExtension(); - virtual std::string provides() { return ""; } - virtual Data getValueOf(const std::string& member) { return Data(); } + virtual std::string provides() { + return ""; + } + virtual Data getValueOf(const std::string& member) { + return Data(); + } virtual void setValueOf(const std::string& member, const Data& data) { } }; class WrappedDataModel : public DataModelImpl { public: - + WrappedDataModel(); virtual ~WrappedDataModel(); @@ -55,7 +59,7 @@ public: virtual boost::shared_ptr<DataModelImpl> create(InterpreterInfo* interpreter) { return boost::shared_ptr<DataModelImpl>(create(_interpreter)); } - + virtual boost::shared_ptr<DataModelImpl> create(InterpreterImpl* interpreter) { _interpreter = interpreter->shared_from_this(); return boost::shared_ptr<DataModelImpl>(create(_interpreter)); |