34 #ifndef CARTOBASE_CONFIG_PATHS_H 35 #define CARTOBASE_CONFIG_PATHS_H 55 const std::string&
home();
61 const std::string&
memmap();
77 bool atbeginning=
false );
90 const std::string & project =
"",
91 const std::string & version =
"" );
96 const std::string & project =
"",
97 const std::string & version =
"" 101 const std::string &
argv0();
102 void setArgv0(
const std::string & argv0 );
const std::string & home()
User home directory.
const std::list< std::string > & resourceSearchPath()
Shared resource files search path.
const std::string & shfjShared()
Shared directory for SHFJ-specific data.
const std::string & argv0()
argv[0], ie executable name and path; only available when a CartoApplication has been built ...
void setArgv0(const std::string &argv0)
std::string findResourceFile(const std::string &filename, const std::string &project="", const std::string &version="")
Find a file in the shared resources directories, or in a personal directory.
void addResourceSearchPath(const std::string &path, bool atbeginning=false)
const std::string & tempDir()
Temporary directory used for general usage.
const std::string & memmap()
Temporary directory used for memory mapping with copy - this directory has better be large...
const std::string & globalShared()
The base shared directory for all cartograph / SHFJ data.
std::list< std::string > findResourceFiles(const std::string &filename, const std::string &project="", const std::string &version="")
Same as findResourceFile() except that it looks for every occurrence of the searched file (or directo...