2 #ifndef NEWGEOM_DATAMODEL_H
3 #define NEWGEOM_DATAMODEL_H
6 #include <LightApp_DataModel.h>
8 class NewGeom_EXPORT NewGeom_DataModel : public LightApp_DataModel
12 NewGeom_DataModel(CAM_Module* theModule);
13 virtual ~NewGeom_DataModel();
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);
19 virtual bool create(CAM_Study* theStudy);
21 virtual bool isModified() const;
22 virtual bool isSaved() const;
24 virtual void update(LightApp_DataObject* theObj = 0, LightApp_Study* theStudy = 0);