34 #ifndef CARTOBASE_CONFIG_PATHS_H
35 #define CARTOBASE_CONFIG_PATHS_H
77 bool atbeginning=
false );
90 const std::string & project =
"",
91 const std::string & version =
"" );
96 const std::string & project =
"",
97 const std::string & version =
""
const std::list< std::string > & resourceSearchPath()
Shared resource files search path.
const std::string & argv0()
argv[0], ie executable name and path; only available when a CartoApplication has been built
void addResourceSearchPath(const std::string &path, bool atbeginning=false)
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.
const std::string & tempDir()
Temporary directory used for general usage.
const std::string & globalShared()
The base shared directory for all cartograph / SHFJ data.
const std::string & home()
User home directory.
const std::string & shfjShared()
Shared directory for SHFJ-specific data.
const std::string & memmap()
Temporary directory used for memory mapping with copy - this directory has better be large.
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...