]> SALOME platform Git repositories - modules/shaper.git/blob - src/NewGeom/NewGeom_DataModel.cpp
Salome HOME
Sources formated according to the codeing standards
[modules/shaper.git] / src / NewGeom / NewGeom_DataModel.cpp
1 #include "NewGeom_DataModel.h"
2
3 NewGeom_DataModel::NewGeom_DataModel(CAM_Module* theModule)
4     : LightApp_DataModel(theModule)
5 {
6 }
7
8 NewGeom_DataModel::~NewGeom_DataModel()
9 {
10 }
11
12 bool NewGeom_DataModel::open(const QString& thePath, CAM_Study* theStudy, QStringList theFiles)
13 {
14   return true;
15 }
16
17 bool NewGeom_DataModel::save(QStringList& theFiles)
18 {
19   return true;
20 }
21
22 bool NewGeom_DataModel::saveAs(const QString& thePath, CAM_Study* theStudy, QStringList& theFiles)
23 {
24   myStudyPath = thePath;
25   return save(theFiles);
26 }
27
28 bool NewGeom_DataModel::close()
29 {
30   return LightApp_DataModel::close();
31 }
32
33 bool NewGeom_DataModel::create(CAM_Study* theStudy)
34 {
35   return true;
36 }
37
38 bool NewGeom_DataModel::isModified() const
39 {
40   return false;
41 }
42
43 bool NewGeom_DataModel::isSaved() const
44 {
45   return true;
46 }
47
48 void NewGeom_DataModel::update(LightApp_DataObject* theObj, LightApp_Study* theStudy)
49 {
50 }