Torc
0.1
|
Go to the source code of this file.
Functions | |
void | InitialiseTorcDirectories (TorcCommandLine *CommandLine) |
Statically initialise the various directories that Torc uses. More... | |
QString | GetTorcConfigDir (void) |
Return the path to the application configuration directory. More... | |
QString | GetTorcShareDir (void) |
Return the path to the installed Torc shared resources. More... | |
QString | GetTorcTransDir (void) |
brief Return the path to installed translation files More... | |
QString | GetTorcContentDir (void) |
brief Return the path to generated content More... | |
Variables | |
static QString | gInstallDir = QStringLiteral("") |
static QString | gShareDir = QStringLiteral("") |
static QString | gConfDir = QStringLiteral("") |
static QString | gTransDir = QStringLiteral("") |
static QString | gContentDir = QStringLiteral("") |
QString GetTorcConfigDir | ( | void | ) |
Return the path to the application configuration directory.
This is the directory where (under a default setup) the database is stored.
Definition at line 83 of file torcdirectories.cpp.
QString GetTorcContentDir | ( | void | ) |
brief Return the path to generated content
Definition at line 104 of file torcdirectories.cpp.
QString GetTorcShareDir | ( | void | ) |
Return the path to the installed Torc shared resources.
Shared resources might include UI themes, other images and static HTML content.
Definition at line 92 of file torcdirectories.cpp.
QString GetTorcTransDir | ( | void | ) |
brief Return the path to installed translation files
Definition at line 98 of file torcdirectories.cpp.
void InitialiseTorcDirectories | ( | TorcCommandLine * | CommandLine | ) |
Statically initialise the various directories that Torc uses.
gInstallDir will default to /usr/local gShareDir will default to /usr/local/share/ gTransDir will default to /usr/local/share/torc/i18n/ gConfDir will default to ~/.torc gContentDir will default to ~/.torc/content/
Definition at line 50 of file torcdirectories.cpp.
|
static |
Definition at line 33 of file torcdirectories.cpp.
|
static |
Definition at line 35 of file torcdirectories.cpp.
|
static |
Definition at line 31 of file torcdirectories.cpp.
|
static |
Definition at line 32 of file torcdirectories.cpp.
|
static |
Definition at line 34 of file torcdirectories.cpp.