Salome HOME
Updater mechanism update
[modules/shaper.git] / src / NewGeom / NewGeom_DataModel.h
1
2
3 #ifndef NEWGEOM_DATAMODEL_H
4 #define NEWGEOM_DATAMODEL_H
5
6 #include "NewGeom.h"
7 #include <LightApp_DataModel.h>
8
9 class NewGeom_EXPORT NewGeom_DataModel : public LightApp_DataModel
10 {
11   Q_OBJECT
12 public:
13   NewGeom_DataModel( CAM_Module* theModule );
14   virtual ~NewGeom_DataModel();
15
16   virtual bool open( const QString& thePath, CAM_Study* theStudy, QStringList theFiles );
17   virtual bool save( QStringList& theFiles );
18   virtual bool saveAs( const QString& thePath, CAM_Study* theStudy, QStringList& theFiles );
19   virtual bool close();
20   virtual bool create( CAM_Study* theStudy );
21
22   virtual bool isModified() const;
23   virtual bool isSaved() const;
24
25   virtual void update( LightApp_DataObject* theObj = 0, LightApp_Study* theStudy = 0 );
26
27 private:
28   QString myStudyPath;
29
30 };
31
32 #endif