4 * @brief Declaration of TempFile
9 #include "UnicodeString.h"
12 * @brief A simple temporary file holder class.
13 * This class creates and holds temporary file names. When instance
14 * gets destroyed, the temporary file is also deleted.
21 String Create(const String& prefix = _T(""), const String& ext = _T(""));
22 String CreateFromFile(const String& filepath, const String& prefix);
24 * @brief Get temp file path (including filename).
25 * @return Full path to temp file.
27 const String& GetPath() const { return m_path; }
31 String m_path; /**< Temporary file path. */
35 bool ClearTempfolder(const String &pathName);