summaryrefslogtreecommitdiffstats
path: root/src/bindings/swig/wrapped/WrappedDataModel.h
diff options
context:
space:
mode:
authorStefan Radomski <sradomski@mintwerk.de>2016-01-10 02:40:12 (GMT)
committerStefan Radomski <sradomski@mintwerk.de>2016-01-10 02:40:12 (GMT)
commit613cf9fb6fe4b24bc7852d5a31953f6ff419e43c (patch)
tree8459365c5a6a00503063b0bf1d516fce5ea4d891 /src/bindings/swig/wrapped/WrappedDataModel.h
parentc699a4057a65a9a09f78310d8e12588f2dc072cd (diff)
downloaduscxml-613cf9fb6fe4b24bc7852d5a31953f6ff419e43c.zip
uscxml-613cf9fb6fe4b24bc7852d5a31953f6ff419e43c.tar.gz
uscxml-613cf9fb6fe4b24bc7852d5a31953f6ff419e43c.tar.bz2
Beautified code
Diffstat (limited to 'src/bindings/swig/wrapped/WrappedDataModel.h')
-rw-r--r--src/bindings/swig/wrapped/WrappedDataModel.h12
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));