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