2013-05-22 01:45:24 +04:00
|
|
|
#ifndef PLATFORMUTILS_H_
|
|
|
|
#define PLATFORMUTILS_H_
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace PlatformUtils {
|
2013-09-13 05:07:59 +04:00
|
|
|
|
2013-05-22 01:45:24 +04:00
|
|
|
std::string documentsPath();
|
2013-05-22 02:02:16 +04:00
|
|
|
std::string libraryPath();
|
2013-05-27 05:24:53 +04:00
|
|
|
bool createLibraryPath();
|
2014-02-13 09:15:35 +04:00
|
|
|
std::string backupPath();
|
|
|
|
bool createBackupPath();
|
2013-09-12 09:17:17 +04:00
|
|
|
std::string info();
|
2014-02-17 00:13:21 +04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Single character separating path specifications in a list
|
|
|
|
* (e.g. OPENSCADPATH). On Windows that's ';' and on most other
|
|
|
|
* systems ':'.
|
|
|
|
*
|
|
|
|
* @return the path separator
|
|
|
|
*/
|
|
|
|
std::string pathSeparatorChar();
|
2013-05-22 01:45:24 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|