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