Xcos MVC: implement clone / delete on the Model side
[scilab.git] / scilab / modules / scicos / src / cpp / view_scilab / DiagramAdapter.hxx
index fd40c85..028eea8 100644 (file)
@@ -27,8 +27,7 @@ namespace view_scilab
 class DiagramAdapter : public BaseAdapter<DiagramAdapter, org_scilab_modules_scicos::model::Diagram>
 {
 public:
-    DiagramAdapter(const DiagramAdapter& o);
-    DiagramAdapter(org_scilab_modules_scicos::model::Diagram* o);
+    DiagramAdapter(bool ownAdaptee, org_scilab_modules_scicos::model::Diagram* adaptee);
     ~DiagramAdapter();
 
     static const std::wstring getSharedTypeStr()