Download this file
31 lines (25 with data), 579 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30 | #pragma once
#include <vector>
#include <string>
using namespace std;
/**
* This singleton class handles temporary files.
* All temp files are deleted at the end of a run of SVN operations
*/
class CTempFiles
{
private:
CTempFiles(void);
~CTempFiles(void);
public:
static CTempFiles& Instance();
/**
* Returns a path to a temporary file.
* \param bRemoveAtEnd if true, the temp file is removed when this object
* goes out of scope.
*/
wstring GetTempFilePath(bool bRemoveAtEnd);
private:
private:
vector<wstring> m_TempFileList;
};
|
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.