4 * @brief Declaration of TempFile
6 // ID line follows -- this is updated by SVN
7 // $Id: TempFile.h 6566 2009-03-12 18:16:39Z kimmov $
13 #include "UnicodeString.h"
16 * @brief A simple temporary file holder class.
17 * This class creates and holds temporary file names. When instance
18 * gets destroyed, the temporary file is also deleted.
26 String Create(const TCHAR *prefix = NULL, const TCHAR *ext = NULL);
27 String CreateFromFile(const TCHAR *filepath, const TCHAR *prefix);
32 String m_path; /**< Temporary file path. */
36 bool CleanupWMtempfolder(std::vector <int> processIDs);
37 bool WMrunning(std::vector <int> processIDs, int iPI);
38 bool ClearTempfolder(const String &pathName);