00001 main.cpp, and libs/libmyth/mythcontext.cpp,
00518 for further detail).
00519
00520 <p>
00521
00522 The "runtime assets" mentioned above are stored in a number of well-known
00523 locations. The following methods in MythContext allow programs and plugins
00524 to access these assets:
00525 <ol>
00526 <li>GetInstallPrefix() returns the value of MCP's m_installprefix variable,
00527 which is either the runtime env. var. $MYTHTVDIR or the compile-time var.
00528 RUNPREFIX. If these are relative paths, it is initialised relative to the
00529 binary location. The value is used thus:
00530 <ul>
00531 <li>GetInstallPrefix() + /share/mythtv/ = GetShareDir(), GetFontsDir()</li>
00532 <li>GetInstallPrefix() + /share/mythtv/themes/ = GetThemesParentDir()</li>
00533 <li>GetInstallPrefix() + /share/mythtv/i18n/ = GetTranslationsDir()</li>
00534 <li>GetInstallPrefix() + /share/mythtv/mytharchive</li>
00535 <li>GetInstallPrefix() + /share/mythtv/mytharchive/themes</li>
00536 <li>GetInstallPrefix() + /share/mythtv/mytharchive/scripts</li>
00537 <li>GetInstallPrefix() + /share/mythtv/mythflix/scripts</li>
00538 <li>GetInstallPrefix() + /share/mythtv/mythnews</li>
00539 <li>GetInstallPrefix() + /share/mythtv/mythvideo/scripts</li>
00540 <li>GetInstallPrefix() + /share/mythtv/mythweather</li>
00541 <li>GetInstallPrefix() + /share/mythtv/mythweather/scripts</li>
00542 <li>GetInstallPrefix() + /bin/ignyte</li>
00543 <li>GetInstallPrefix() + /bin/mythfilldatabase</li>
00544 <li>GetInstallPrefix() + /bin/mtd</li>
00545 <li>GetInstallPrefix() + /lib/mythtv/ = GetLibraryDir()</li>
00546 <li>GetInstallPrefix() + /lib/mythtv/plugins/ = GetPluginsDir()</li>
00547 <li>GetInstallPrefix() + /lib/mythtv/filters/ = GetFiltersDir()</li>
00548 </ul></li>
00549
00550 <li>GetConfDir() returns the value of the runtime env. var. $MYTHCONFDIR,
00551 or $HOME/.mythtv.</li>
00552
00553 <li>mysql.txt is loaded from GetShareDir(), GetInstallPrefix() + /etc/mythtv,
00554 GetConfDir(), and the current directory. Later files override the values
00555 from earlier ones.</li>
00556 </ol>
00557
00558 */
00559
00833 // The file ac3.h in ffmpeg contains no Doxygen markup,
00834 // but for some reason generates the following modules:
00835 // * Coded elements
00836 // * Derived values
00837 //
00838 // They add nothing useful to this programmer doco, so I camouflage these
00839 // by manually defining the block here. Same thing for the few modules
00840 // in ffmpeg that are documented; Macroblock and VC9 bitplanes from vc1.c,
00841 // Monkey Audio from apedec.c, multithreaded slicing from h264.h,
00842