MythTV  master
Classes | Namespaces | Macros | Functions | Variables
mythcontext.cpp File Reference
#include <algorithm>
#include <array>
#include <cmath>
#include <iostream>
#include <queue>
#include <thread>
#include <unistd.h>
#include <vector>
#include <QCoreApplication>
#include <QDateTime>
#include <QDebug>
#include <QDir>
#include <QEventLoop>
#include <QFileInfo>
#include <QHostInfo>
#include <QMutex>
#include <QTcpSocket>
#include "libmythbase/compat.h"
#include "libmythbase/configuration.h"
#include "libmythbase/dbutil.h"
#include "libmythbase/exitcodes.h"
#include "libmythbase/mythdate.h"
#include "libmythbase/mythdb.h"
#include "libmythbase/mythdirs.h"
#include "libmythbase/mythevent.h"
#include "libmythbase/mythlogging.h"
#include "libmythbase/mythmiscutil.h"
#include "libmythbase/mythplugin.h"
#include "libmythbase/mythsystemlegacy.h"
#include "libmythbase/mythtranslation.h"
#include "libmythbase/mythversion.h"
#include "libmythbase/portchecker.h"
#include "libmythbase/remotefile.h"
#include "libmythui/mythdialogbox.h"
#include "libmythui/mythimage.h"
#include "libmythui/mythmainwindow.h"
#include "libmythui/mythuihelper.h"
#include "libmythupnp/mythxmlclient.h"
#include "libmythupnp/upnp.h"
#include "backendselect.h"
#include "dbsettings.h"
#include "guistartup.h"
#include "langsettings.h"
#include "mythcontext.h"
#include "mythmediamonitor.h"
Include dependency graph for mythcontext.cpp:

Go to the source code of this file.

Classes

class  anonymous_namespace{mythcontext.cpp}::GUISettingsCache
 
class  MythContextPrivate
 

Namespaces

 anonymous_namespace{mythcontext.cpp}
 

Macros

#define LOC   QString("MythContext: ")
 

Functions

static void exec_program_cb (const QString &cmd)
 
static void exec_program_tv_cb (const QString &cmd)
 
static void configplugin_cb (const QString &cmd)
 
static void plugin_cb (const QString &cmd)
 
static void eject_cb (void)
 

Variables

MythContextgContext = nullptr
 This global variable contains the MythContext instance for the application. More...
 
static const QString sLocation = "MythContext"
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("MythContext: ")

Definition at line 62 of file mythcontext.cpp.

Function Documentation

◆ exec_program_cb()

static void exec_program_cb ( const QString &  cmd)
static

Definition at line 171 of file mythcontext.cpp.

Referenced by MythContextPrivate::Init().

◆ exec_program_tv_cb()

static void exec_program_tv_cb ( const QString &  cmd)
static

Definition at line 176 of file mythcontext.cpp.

Referenced by MythContextPrivate::Init().

◆ configplugin_cb()

static void configplugin_cb ( const QString &  cmd)
static

Definition at line 239 of file mythcontext.cpp.

Referenced by MythContextPrivate::Init().

◆ plugin_cb()

static void plugin_cb ( const QString &  cmd)
static

Definition at line 252 of file mythcontext.cpp.

Referenced by MythContextPrivate::Init().

◆ eject_cb()

static void eject_cb ( void  )
static

Definition at line 266 of file mythcontext.cpp.

Referenced by MythContextPrivate::Init().

Variable Documentation

◆ gContext

MythContext* gContext = nullptr

◆ sLocation

const QString sLocation = "MythContext"
static