2 #ifndef NEWGEOM_DATAMODEL_H
3 #define NEWGEOM_DATAMODEL_H
6 #include <LightApp_DataModel.h>
10 class NewGeom_EXPORT NewGeom_DataModel : public LightApp_DataModel
14 NewGeom_DataModel(NewGeom_Module* theModule);
15 virtual ~NewGeom_DataModel();
17 virtual bool open(const QString& thePath, CAM_Study* theStudy, QStringList theFiles);
18 virtual bool save(QStringList& theFiles);
19 virtual bool saveAs(const QString& thePath, CAM_Study* theStudy, QStringList& theFiles);
21 virtual bool create(CAM_Study* theStudy);
23 virtual bool isModified() const;
24 virtual bool isSaved() const;
26 virtual void update(LightApp_DataObject* theObj = 0, LightApp_Study* theStudy = 0);
30 NewGeom_Module* myModule;