ultimatepp/bazaar/maxpdf_frontend/PdfPaths.cpp
micio f6030ca7da BAZAAR : added complete app - Cups printer driver for PDF file generation
git-svn-id: svn://ultimatepp.org/upp/trunk@592 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-11-02 21:34:05 +00:00

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()