MythTV
master
|
#include <cerrno>
#include <csignal>
#include <cstdlib>
#include <fcntl.h>
#include <iostream>
#include <QFile>
#include <QFileInfo>
#include <QMap>
#include <QKeyEvent>
#include <QEvent>
#include <QDir>
#include <QTextCodec>
#include <QApplication>
#include <QSurfaceFormat>
#include <QTimer>
#include <QProcessEnvironment>
#include "previewgeneratorqueue.h"
#include "referencecounter.h"
#include "mythmiscutil.h"
#include "mythconfig.h"
#include "mythcdrom.h"
#include "mythsystemlegacy.h"
#include "tv.h"
#include "proglist.h"
#include "prevreclist.h"
#include "progfind.h"
#include "scheduleeditor.h"
#include "manualschedule.h"
#include "playbackbox.h"
#include "themechooser.h"
#include "setupwizard_general.h"
#include "customedit.h"
#include "viewscheduled.h"
#include "programrecpriority.h"
#include "channelrecpriority.h"
#include "custompriority.h"
#include "audiooutput.h"
#include "globalsettings.h"
#include "audiogeneralsettings.h"
#include "grabbersettings.h"
#include "playgroup.h"
#include "networkcontrol.h"
#include "scheduledrecording.h"
#include "mythsystemevent.h"
#include "hardwareprofile.h"
#include "signalhandling.h"
#include "loggingserver.h"
#include "compat.h"
#include "exitcodes.h"
#include "exitprompt.h"
#include "programinfo.h"
#include "mythcontext.h"
#include "mythdbcon.h"
#include "guidegrid.h"
#include "mythplugin.h"
#include "remoteutil.h"
#include "dbcheck.h"
#include "mythmediamonitor.h"
#include "statusbox.h"
#include "idlescreen.h"
#include "lcddevice.h"
#include "langsettings.h"
#include "mythtranslation.h"
#include "commandlineparser.h"
#include "tvremoteutil.h"
#include "channelutil.h"
#include "myththemedmenu.h"
#include "mediarenderer.h"
#include "mythmainwindow.h"
#include "mythcontrols.h"
#include "mythuihelper.h"
#include "mythdirs.h"
#include "mythdb.h"
#include "backendconnectionmanager.h"
#include "mythversion.h"
#include "taskqueue.h"
#include "cleanupguard.h"
#include "standardsettings.h"
#include "settingshelper.h"
#include "cleanup.h"
#include "globals.h"
#include "videodlg.h"
#include "videoglobalsettings.h"
#include "videofileassoc.h"
#include "videoplayersettings.h"
#include "videometadatasettings.h"
#include "videolist.h"
#include "gallerythumbview.h"
#include "DVD/dvdringbuffer.h"
#include "Bluray/bdringbuffer.h"
#include "main.moc"
Go to the source code of this file.
Macros | |
#define | fe_sd_notify(x) |
Functions | |
static void | handleExit (bool prompt) |
static void | resetAllKeys (void) |
Reset this host's key bindings and jump points to default values. More... | |
void | handleSIGUSR1 (void) |
void | handleSIGUSR2 (void) |
static void | startAppearWiz (void) |
static void | startKeysSetup () |
static void | startGuide (void) |
static void | startFinder (void) |
static void | startSearchTitle (void) |
static void | startSearchKeyword (void) |
static void | startSearchPeople (void) |
static void | startSearchPower (void) |
static void | startSearchStored (void) |
static void | startSearchChannel (void) |
static void | startSearchCategory (void) |
static void | startSearchMovie (void) |
static void | startSearchNew (void) |
static void | startSearchTime (void) |
static void | startManaged (void) |
static void | startManageRecordingRules (void) |
static void | startChannelRecPriorities (void) |
static void | startCustomPriority (void) |
static void | startPlaybackWithGroup (const QString &recGroup="") |
static void | startPlayback (void) |
static void | startPrevious (void) |
static void | startPreviousOld (void) |
static void | startCustomEdit (void) |
static void | startManualSchedule (void) |
static bool | isLiveTVAvailable (void) |
static void | startTVNormal (void) |
static void | showStatus (void) |
static void | standbyScreen (void) |
static void | RunVideoScreen (VideoDialog::DialogType type, bool fromJump=false) |
static void | jumpScreenVideoManager () |
static void | jumpScreenVideoBrowser () |
static void | jumpScreenVideoTree () |
static void | jumpScreenVideoGallery () |
static void | jumpScreenVideoDefault () |
static void | RunGallery () |
static void | playDisc () |
static void | handleDVDMedia (MythMediaDevice *dvd) |
static void | handleGalleryMedia (MythMediaDevice *dev) |
static void | TVMenuCallback (void *data, QString &selection) |
static bool | RunMenu (const QString &themedir, const QString &themename) |
static void | WriteDefaults () |
static int | internal_play_media (const QString &mrl, const QString &plot, const QString &title, const QString &subtitle, const QString &director, int season, int episode, const QString &inetref, int lenMins, const QString &year, const QString &id, const bool useBookmark) |
static void | gotoMainMenu (void) |
static bool | resetTheme (QString themedir, const QString &badtheme) |
static int | reloadTheme (void) |
static void | reloadTheme_void (void) |
static void | setDebugShowBorders (void) |
static void | setDebugShowNames (void) |
static void | InitJumpPoints (void) |
static void | ReloadJumpPoints (void) |
static void | InitKeys (void) |
static void | ReloadKeys (void) |
static void | SetFuncPtrs (void) |
static void | clearAllKeys (void) |
Deletes all key bindings and jump points for this host. More... | |
static int | internal_media_init () |
static void | CleanupMyOldInUsePrograms (void) |
static bool | WasAutomaticStart (void) |
static int | revokeRoot (void) |
int | main (int argc, char **argv) |
Variables | |
static ExitPrompter * | g_exitPopup = nullptr |
static MythThemedMenu * | g_menu |
static MediaRenderer * | g_pUPnp = nullptr |
static MythPluginManager * | g_pmanager = nullptr |
static SettingsHelper * | g_settingsHelper = nullptr |
static const QString | _Location |
#define fe_sd_notify | ( | x | ) |
Definition at line 125 of file mythtv/programs/mythfrontend/main.cpp.
|
static |
Definition at line 1205 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by TVMenuCallback().
|
static |
Reset this host's key bindings and jump points to default values.
Definition at line 1686 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by InitJumpPoints().
void handleSIGUSR1 | ( | void | ) |
Definition at line 2252 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by main().
void handleSIGUSR2 | ( | void | ) |
Definition at line 2261 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by main().
|
static |
Definition at line 322 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by TVMenuCallback().
|
static |
Definition at line 369 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by TVMenuCallback().
|
static |
Definition at line 381 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by InitJumpPoints(), and TVMenuCallback().
|
static |
Definition at line 389 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by InitJumpPoints(), and TVMenuCallback().
|
static |
Definition at line 394 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by TVMenuCallback().
|
static |
Definition at line 404 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by TVMenuCallback().
|
static |
Definition at line 414 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by TVMenuCallback().
|
static |
Definition at line 424 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by TVMenuCallback().
|
static |
Definition at line 434 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by TVMenuCallback().
|
static |
Definition at line 444 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by TVMenuCallback().
|
static |
Definition at line 454 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by TVMenuCallback().
|
static |
Definition at line 464 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by TVMenuCallback().
|
static |
Definition at line 474 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by TVMenuCallback().
|
static |
Definition at line 484 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by TVMenuCallback().
|
static |
Definition at line 494 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by InitJumpPoints(), and TVMenuCallback().
|
static |
Definition at line 506 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by InitJumpPoints(), and TVMenuCallback().
|
static |
Definition at line 518 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by InitJumpPoints(), and TVMenuCallback().
|
static |
Definition at line 530 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by TVMenuCallback().
|
static |
Definition at line 542 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by startPlayback(), and TVMenuCallback().
|
static |
Definition at line 559 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by MusicCommon::init(), InitJumpPoints(), and TVMenuCallback().
|
static |
Definition at line 564 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by InitJumpPoints(), and TVMenuCallback().
|
static |
Definition at line 574 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by TVMenuCallback().
|
static |
Definition at line 584 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by TVMenuCallback().
|
static |
Definition at line 595 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by TVMenuCallback().
|
static |
Definition at line 607 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by startTVNormal().
|
static |
Definition at line 621 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by InitJumpPoints(), and TVMenuCallback().
|
static |
Definition at line 649 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by ViewScheduleDiff::Create(), InitJumpPoints(), TV::ToggleOSD(), and TVMenuCallback().
|
static |
Definition at line 662 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by InitJumpPoints(), main(), and TVMenuCallback().
|
static |
Definition at line 674 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by jumpScreenVideoBrowser(), jumpScreenVideoDefault(), jumpScreenVideoGallery(), jumpScreenVideoManager(), jumpScreenVideoTree(), and TVMenuCallback().
|
static |
Definition at line 723 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by InitJumpPoints().
|
static |
Definition at line 724 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by InitJumpPoints().
|
static |
Definition at line 725 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by InitJumpPoints().
|
static |
Definition at line 726 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by InitJumpPoints().
|
static |
Definition at line 727 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by InitJumpPoints().
|
static |
Definition at line 729 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by InitJumpPoints().
|
static |
Definition at line 744 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by handleDVDMedia(), InitJumpPoints(), and TVMenuCallback().
|
static |
Definition at line 827 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by internal_media_init().
|
static |
Definition at line 849 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by internal_media_init().
|
static |
Definition at line 882 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by RunMenu().
|
static |
Definition at line 1218 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by main(), reloadTheme(), and resetTheme().
|
static |
Definition at line 1243 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by main().
|
static |
Definition at line 1273 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by internal_media_init().
|
static |
Definition at line 1382 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by InitJumpPoints().
|
static |
Definition at line 1393 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by main(), and reloadTheme().
|
static |
Definition at line 1416 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by main(), and reloadTheme_void().
|
static |
Definition at line 1504 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by InitJumpPoints().
|
static |
Definition at line 1511 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by InitJumpPoints().
|
static |
Definition at line 1520 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by InitJumpPoints().
|
static |
Definition at line 1529 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by main(), and ReloadJumpPoints().
|
static |
Definition at line 1588 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by resetAllKeys().
|
static |
Definition at line 1595 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by main(), TV::ReloadKeys(), and ReloadKeys().
|
static |
Definition at line 1647 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by resetAllKeys().
|
static |
Definition at line 1655 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by main().
|
static |
Deletes all key bindings and jump points for this host.
Definition at line 1667 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by resetAllKeys().
|
static |
Definition at line 1697 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by main().
|
static |
Definition at line 1717 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by main().
|
static |
Definition at line 1728 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by main().
|
static |
Definition at line 1829 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 1840 of file mythtv/programs/mythfrontend/main.cpp.
|
static |
Definition at line 128 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by handleExit().
|
static |
Definition at line 129 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by reloadTheme(), and RunMenu().
|
static |
Definition at line 131 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by main().
|
static |
Definition at line 132 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by main().
|
static |
Definition at line 134 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by TVMenuCallback().
|
static |
Definition at line 145 of file mythtv/programs/mythfrontend/main.cpp.
Referenced by internal_play_media().