MythTV  master
Classes | Macros | Functions | Variables
mythcontext.cpp File Reference
#include <algorithm>
#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/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  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 sLocation = "MythContext"
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("MythContext: ")

Definition at line 53 of file mythcontext.cpp.

Function Documentation

◆ exec_program_cb()

static void exec_program_cb ( const QString &  cmd)
static

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

Referenced by MythContextPrivate::Init().

◆ configplugin_cb()

static void configplugin_cb ( const QString &  cmd)
static

Definition at line 204 of file mythcontext.cpp.

Referenced by MythContextPrivate::Init().

◆ plugin_cb()

static void plugin_cb ( const QString &  cmd)
static

Definition at line 217 of file mythcontext.cpp.

Referenced by MythContextPrivate::Init().

◆ eject_cb()

static void eject_cb ( void  )
static

Definition at line 231 of file mythcontext.cpp.

Referenced by MythContextPrivate::Init().

Variable Documentation

◆ gContext

MythContext* gContext = nullptr

◆ sLocation

const QString sLocation = "MythContext"
static