2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) 2014-2014 - Scilab Enterprises - Clement DAVID
5 * This file must be used under the terms of the CeCILL.
6 * This source file is licensed as described in the file COPYING, which
7 * you should have received as part of this distribution. The terms
8 * are also available at
9 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
15 #include "internal.hxx"
20 #include "Controller.hxx"
21 #include "StateAdapter.hxx"
23 namespace org_scilab_modules_scicos
32 template<> property<StateAdapter>::props_t property<StateAdapter>::fields = property<StateAdapter>::props_t();
34 StateAdapter::StateAdapter(const StateAdapter& o) :
35 BaseAdapter<StateAdapter, org_scilab_modules_scicos::model::Diagram>(o) {}
37 StateAdapter::StateAdapter(org_scilab_modules_scicos::model::Diagram* o) :
38 BaseAdapter<StateAdapter, org_scilab_modules_scicos::model::Diagram>(o)
40 if (property<StateAdapter>::properties_has_not_been_set())
42 // FIXME: add some properties
46 StateAdapter::~StateAdapter()
50 std::wstring StateAdapter::getTypeStr()
52 return getSharedTypeStr();
54 std::wstring StateAdapter::getShortTypeStr()
56 return getSharedTypeStr();
59 } /* namespace view_scilab */
60 } /* namespace org_scilab_modules_scicos */