summaryrefslogtreecommitdiff
path: root/lib/common/TemporaryDirectory.h
blob: e683863b01173b29505a97ed2219eef934ae8b92 (plain)
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
// --------------------------------------------------------------------------
//
// File
//		Name:    TemporaryDirectory.h
//		Purpose: Location of temporary directory
//		Created: 2003/10/13
//
// --------------------------------------------------------------------------

#ifndef TEMPORARYDIRECTORY__H
#define TEMPORARYDIRECTORY__H

#include <string>

#ifdef TEMP_DIRECTORY_NAME
	// Prefix name with Box to avoid clashing with OS API names
	inline std::string BoxGetTemporaryDirectoryName()
	{
		return std::string(TEMP_DIRECTORY_NAME);
	}
#else
	non-static temporary directory names not supported yet
#endif

#endif // TEMPORARYDIRECTORY__H