|
MythTV
0.25-pre
|
This line is filler that is ignored by Doxygen. More...
This line is filler that is ignored by Doxygen.
Most MythTV programs follow a common sequence:
(examine program/{appname}/main.cpp, and libs/libmyth/mythcontext.cpp, for further detail).
The "runtime assets" mentioned above are stored in a number of well-known locations. The following methods in MythContext allow programs and plugins to access these assets:
GetInstallPrefix() returns either the runtime env. var. $MYTHTVDIR or the compile-time var. RUNPREFIX. If these are relative paths, it is initialised relative to the application's location. The value is used thus:
GetConfDir() returns the value of the runtime env. var. $MYTHCONFDIR, or $HOME/.mythtv
1.7.6.1