Torc  0.1
Functions
torcdirectories.h File Reference
#include <QString>
#include "torccommandline.h"
Include dependency graph for torcdirectories.h:
This graph shows which files directly or indirectly include this file:

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...
 

Function Documentation

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/

See also
GetTorcConfigDir
GetTorcShareDir
GetTorcTransDir
GetTorcContentDir

Definition at line 50 of file torcdirectories.cpp.