trikRuntime
|
Service that provides information about file paths used by system. More...
#include <paths.h>
Static Public Member Functions | |
static QString | configsPath () |
Path to a directory with trikControl config files. More... | |
static QString | coreDumpPath () |
Where to put core dump if something goes wrong. More... | |
static QString | logsPath () |
Where to put log files. More... | |
static QString | mediaPath () |
Path to a directory containing "media" folder (with images and sounds). More... | |
static QString | systemScriptsPath () |
Path to a directory with "system.js" file. More... | |
static QString | userScriptsPath () |
Where to put script files sent by TRIK Studio and written by user. More... | |
static QString | translationsPath () |
Name of a directory containing "translations" folder. More... | |
static QString | trikRcName () |
Name (with path) of trikrc file. More... | |
static QString | localSettings () |
Name (with path) of .ini file with local settings like locale and hull number. More... | |
static QString | hostnameName () |
Name (with path) of hostname file. More... | |
Service that provides information about file paths used by system.
If there is "system-config.xml" file in a folder with launched binary, this service assumes that everything is stored near binary (as in old "copy" deployment style), if not, it uses common Linux conventions for file locations (configs in /etc/trik/trikRuntime/, media in /usr/share/trikRuntime/ and so on). All methods returning paths return them ending with "/".
|
static |
Path to a directory with trikControl config files.
|
static |
Where to put core dump if something goes wrong.
|
static |
Name (with path) of hostname file.
|
static |
Name (with path) of .ini file with local settings like locale and hull number.
|
static |
Where to put log files.
|
static |
Path to a directory containing "media" folder (with images and sounds).
|
static |
Path to a directory with "system.js" file.
|
static |
Name of a directory containing "translations" folder.
|
static |
Name (with path) of trikrc file.
|
static |
Where to put script files sent by TRIK Studio and written by user.