Salome HOME
Using files from package LightApp instead of files from package SalomeApp
[modules/superv.git] / src / SUPERVGUI / SUPERVGUI_DataModel.h
1 #ifndef SUPERVGUI_DATAMODEL_H
2 #define SUPERVGUI_DATAMODEL_H
3
4 #include <SalomeApp_DataModel.h>
5
6 /*
7   Class       : SUPERVGUI_DataModel
8   Description : Base class of data model
9 */
10
11 class SUPERVGUI_DataModel : public SalomeApp_DataModel
12 {
13 public:
14                                       SUPERVGUI_DataModel ( CAM_Module* theModule );
15   virtual                             ~SUPERVGUI_DataModel();
16
17   virtual bool                        open( const QString&, CAM_Study*, QStringList );
18   virtual bool                        save( QStringList& );
19   virtual bool                        saveAs( const QString&, CAM_Study*, QStringList& );
20   virtual bool                        close();
21
22   virtual bool                        isModified() const ;
23   virtual bool                        isSaved() const ;
24
25 signals:
26   void                                opened();
27   void                                saved();
28   void                                closed();
29 };
30
31 #endif