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

Go to the source code of this file.

Classes

class  MythContextPrivate
 

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 _Location = "MythContext"
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("MythContext: ")

Definition at line 61 of file mythcontext.cpp.

Function Documentation

◆ exec_program_cb()

static void exec_program_cb ( const QString &  cmd)
static

Definition at line 145 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 150 of file mythcontext.cpp.

Referenced by MythContextPrivate::Init().

◆ configplugin_cb()

static void configplugin_cb ( const QString &  cmd)
static

Definition at line 209 of file mythcontext.cpp.

Referenced by MythContextPrivate::Init().

◆ plugin_cb()

static void plugin_cb ( const QString &  cmd)
static

Definition at line 222 of file mythcontext.cpp.

Referenced by MythContextPrivate::Init().

◆ eject_cb()

static void eject_cb ( void  )
static

Definition at line 236 of file mythcontext.cpp.

Referenced by MythContextPrivate::Init().

Variable Documentation

◆ gContext

MythContext* gContext = nullptr

◆ _Location

const QString _Location = "MythContext"
static