Salome HOME
Merge remote-tracking branch 'origin/V8_3_BR' into gdd/python3_dev
[modules/med.git] / src / MEDCalc / gui / WorkspaceController.hxx
index f85a068e4b4f68939f83f069a3b3dad677838d89..ea73983cba304e3f55f21c0036a5c65ce3501f7d 100644 (file)
@@ -22,8 +22,8 @@
 #ifndef _WORKSPACE_CONTROLLER_HXX
 #define _WORKSPACE_CONTROLLER_HXX
 
-#include "TreeGuiManager.hxx"
 #include "MEDEventListener_i.hxx"
+#include "TreeGuiManager.hxx"
 #include "XmedConsoleDriver.hxx"
 #include "DatasourceController.hxx"
 #include "PresentationController.hxx"
@@ -52,6 +52,7 @@ public:
   ~WorkspaceController();
 
   void createActions();
+  XmedConsoleDriver* getConsoleDriver() { return _consoleDriver; }
 
 public slots:
   // Slots overiding TreeGuiManager
@@ -60,13 +61,10 @@ public slots:
   // Internal slots
   void processMedEvent(const MEDCALC::MedEvent* event);
   void processDatasourceEvent(const DatasourceEvent* event);
-  void processPresentationEvent(const PresentationEvent* event);
   void processProcessingEvent(const ProcessingEvent* event);
   void OnSaveWorkspace();
   void OnCleanWorkspace();
 
-  void onRequestTermination();
-
 signals:
   void workspaceSignal(const MEDCALC::MedEvent* event);
 
@@ -81,15 +79,13 @@ private:
   void _saveItemList(QStringList itemNameIdList);
   void _removeItemList(QStringList itemNameIdList);
   void _viewItemList(QStringList itemNameIdList);
-  QString _getViewMode();
-  QString _getColorMap();
 
 private:
   XmedConsoleDriver* _consoleDriver;
   MEDModule* _salomeModule;
   MEDEventListener_i* _medEventListener;
 
-  // This structure is intended to memorized in a bundle the whole set
+  // This structure is intended to memorize in a bundle the whole set
   // of integers identifying the actions of the popup menu associated
   // to the TreeView embedded in this TreeGuiManager
   typedef struct {