X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_Tools.h;h=54928254e89cc8a1b7080711c9278d3a7dacd592;hb=adf26479b37f6238c3fd33b7da5f37dd57b68b00;hp=98178651f21436633800594fa3a82809b4161985;hpb=c4eab94a20a0d93100549a210582d46409fec1cc;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_Tools.h b/src/XGUI/XGUI_Tools.h index 98178651f..54928254e 100644 --- a/src/XGUI/XGUI_Tools.h +++ b/src/XGUI/XGUI_Tools.h @@ -109,6 +109,12 @@ bool XGUI_EXPORT canRemoveOrRename(QWidget* theParent, const std::set& thePrs); + +/// Creates and returns the temporary directory (with random name) using the environment variable +/// path to location of such directories, +std::string getTmpDirByEnv( const char* thePathEnv); + +/// Removes files and directory where they are located +void removeTemporaryFiles(const std::string& theDirectory, + const std::list& theFiles); }; #endif