X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCalc%2Fgui%2FXmedConsoleDriver.hxx;h=29681a9b0382c54f98e21ff64c9df39e24da29e5;hb=a119debbdcf997724c31a9177793d2f9beef6a64;hp=4aca66a1852d413ab7d297e68ea5bdf24f39a5ec;hpb=e417eb14540b5836898a72890f924ca575af3b3b;p=modules%2Fmed.git diff --git a/src/MEDCalc/gui/XmedConsoleDriver.hxx b/src/MEDCalc/gui/XmedConsoleDriver.hxx index 4aca66a18..29681a9b0 100644 --- a/src/MEDCalc/gui/XmedConsoleDriver.hxx +++ b/src/MEDCalc/gui/XmedConsoleDriver.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2011-2015 CEA/DEN, EDF R&D +// Copyright (C) 2011-2016 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -21,29 +21,26 @@ #ifndef XMEDCONSOLEDRIVER_HXX #define XMEDCONSOLEDRIVER_HXX -#include +#include "MEDCALCGUI.hxx" + #include #include -#include "MEDCALCGUI.hxx" - -typedef QList CommandsHistory; +class MEDModule; class MEDCALCGUI_EXPORT XmedConsoleDriver { public: - XmedConsoleDriver(SalomeApp_Application * application); + XmedConsoleDriver(MEDModule* salomeModule); void setup(); void exec(const QStringList& commands); - inline const CommandsHistory& getHistory() { return _history; } - private: + MEDModule* _salomeModule; PyConsole_Console * _pyConsole; bool _importXmedDone; - CommandsHistory _history; }; #endif //XMEDCONSOLEDRIVER_HXX