mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-17 06:06:00 -06:00
25 lines
678 B
C++
25 lines
678 B
C++
#include "PdfPaths.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////////
|
|
// gets base path of user data
|
|
String GetPdfBasePath(void)
|
|
{
|
|
return "/home/" + Environment().Get("USER") + "/.MaxPdf/";
|
|
|
|
} // END GetPdfBasePath()
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////////
|
|
// gets data folder path
|
|
String GetPdfDataPath(void)
|
|
{
|
|
return GetPdfBasePath() + "data/" ;
|
|
|
|
} // END GetPdfDataPath()
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////////
|
|
// gets config folder path
|
|
String GetPdfConfigPath(void)
|
|
{
|
|
return GetPdfBasePath() + "config/" ;
|
|
|
|
} // END GetPdfConfigPath()
|