forked from mirrors/0ad
# groundwork for separated data/cache etc. directories (XDG)
remove path.cpp (it was based on the premise that all data files lie below binaries/data) This was SVN commit r7063.
This commit is contained in:
@@ -41,6 +41,12 @@ DECLARE_ERROR(PS_FAIL);
|
||||
extern const wchar_t* psTranslate(const wchar_t* text);
|
||||
extern void psTranslateFree(const wchar_t* text);
|
||||
extern void psBundleLogs(FILE* f);
|
||||
|
||||
// (this is used by AppHooks during crash reporting, where it's useful
|
||||
// not to allocate any memory.)
|
||||
extern const char* psGetLogDir();
|
||||
|
||||
// same as psGetLogDir, but more convenient (yet doesn't cache the results).
|
||||
extern fs::path psLogPath();
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user