Salome HOME
Add MED engine
[modules/med.git] / src / MEDCalc / gui / DatasourceController.hxx
index 0ec0a180669c4ee54be8c18e0d843f29fc27934c..09cf69a7ff27fc69544f06841fe8127b99d77044 100644 (file)
 #include "MEDEventListener_i.hxx"
 #include <SALOMEconfig.h>
 #include CORBA_CLIENT_HEADER(MEDDataManager)
-#include <StandardApp_Module.hxx>
+//#include <StandardApp_Module.hxx>
+#include <SalomeApp_Module.h>
 #include <SALOME_AppStudyEditor.hxx>
 #include <MEDPresentation.hxx>
 
-#include <map>
-
 #include "XmedDataModel.hxx"
 #include "DlgChangeUnderlyingMesh.hxx"
 #include "DlgInterpolateField.hxx"
@@ -66,6 +65,8 @@ typedef struct {
   QString objectalias;
 } DatasourceEvent;
 
+class MEDModule;
+
 //
 // ==============================================================
 // Datasource controller
@@ -75,7 +76,9 @@ class MEDCALCGUI_EXPORT DatasourceController: public QObject {
   Q_OBJECT
 
 public:
-  DatasourceController(StandardApp_Module * salomeModule);
+  //DatasourceController(StandardApp_Module * salomeModule);
+  //DatasourceController(SalomeApp_Module * salomeModule);
+  DatasourceController(MEDModule * salomeModule);
   ~DatasourceController();
 
   void createActions();
@@ -105,9 +108,9 @@ private:
   void updateTreeViewWithNewPresentation(long fieldId, long presentationId);
 
 private:
-  StandardApp_Module * _salomeModule;
+  //StandardApp_Module * _salomeModule;
+  MEDModule* _salomeModule;
   SALOME_AppStudyEditor * _studyEditor;
-  std::map<long, std::string> _fieldSeriesEntries;
 
   DlgChangeUnderlyingMesh * _dlgChangeUnderlyingMesh;
   DlgInterpolateField * _dlgInterpolateField;