MythTV  master
Functions | Variables
mythplugins/mytharchive/mytharchive/main.cpp File Reference
#include <csignal>
#include <cstdlib>
#include <iostream>
#include <QApplication>
#include <QDir>
#include <QTimer>
#include <mythpluginapi.h>
#include <mythcontext.h>
#include <mythversion.h>
#include <mythplugin.h>
#include <mythcoreutil.h>
#include <mythsystemlegacy.h>
#include <myththemedmenu.h>
#include <mythuihelper.h>
#include <mythdialogbox.h>
#include <mythmainwindow.h>
#include "archivesettings.h"
#include "logviewer.h"
#include "fileselector.h"
#include "recordingselector.h"
#include "videoselector.h"
#include "dbcheck.h"
#include "archiveutil.h"
#include "selectdestination.h"
#include "exportnative.h"
#include "importnative.h"
#include "mythburn.h"
Include dependency graph for mythplugins/mytharchive/mytharchive/main.cpp:

Go to the source code of this file.

Functions

static bool checkProcess (const QString &lockFile)
 
static bool checkLockFile (const QString &lockFile)
 
static void runCreateDVD (void)
 
static void runCreateArchive (void)
 
static void runEncodeVideo (void)
 
static void runImportVideo (void)
 
static void runShowLog (void)
 
static void runTestDVD (void)
 
static void runBurnDVD (void)
 
static void ArchiveCallback (void *data, QString &selection)
 
static int runMenu (const QString &which_menu)
 
static void initKeys (void)
 
int mythplugin_init (const char *libversion)
 
int mythplugin_run (void)
 
int mythplugin_config (void)
 

Variables

static void(* m_callback )(void *, QString &) = nullptr
 
static void * m_callbackdata = nullptr
 

Function Documentation

◆ checkProcess()

static bool checkProcess ( const QString &  lockFile)
static

Definition at line 45 of file mythplugins/mytharchive/mytharchive/main.cpp.

Referenced by checkLockFile().

◆ checkLockFile()

static bool checkLockFile ( const QString &  lockFile)
static

◆ runCreateDVD()

static void runCreateDVD ( void  )
static

Definition at line 113 of file mythplugins/mytharchive/mytharchive/main.cpp.

Referenced by ArchiveCallback(), and initKeys().

◆ runCreateArchive()

static void runCreateArchive ( void  )
static

Definition at line 142 of file mythplugins/mytharchive/mytharchive/main.cpp.

Referenced by ArchiveCallback(), and initKeys().

◆ runEncodeVideo()

static void runEncodeVideo ( void  )
static

Definition at line 171 of file mythplugins/mytharchive/mytharchive/main.cpp.

Referenced by ArchiveCallback().

◆ runImportVideo()

static void runImportVideo ( void  )
static

Definition at line 176 of file mythplugins/mytharchive/mytharchive/main.cpp.

Referenced by ArchiveCallback(), and initKeys().

◆ runShowLog()

static void runShowLog ( void  )
static

Definition at line 206 of file mythplugins/mytharchive/mytharchive/main.cpp.

Referenced by ArchiveCallback(), and initKeys().

◆ runTestDVD()

static void runTestDVD ( void  )
static

Definition at line 211 of file mythplugins/mytharchive/mytharchive/main.cpp.

Referenced by ArchiveCallback(), and initKeys().

◆ runBurnDVD()

static void runBurnDVD ( void  )
static

Definition at line 249 of file mythplugins/mytharchive/mytharchive/main.cpp.

Referenced by ArchiveCallback(), and initKeys().

◆ ArchiveCallback()

static void ArchiveCallback ( void *  data,
QString &  selection 
)
static

Definition at line 259 of file mythplugins/mytharchive/mytharchive/main.cpp.

Referenced by runMenu().

◆ runMenu()

static int runMenu ( const QString &  which_menu)
static

Definition at line 288 of file mythplugins/mytharchive/mytharchive/main.cpp.

Referenced by mythplugin_run().

◆ initKeys()

static void initKeys ( void  )
static

Definition at line 333 of file mythplugins/mytharchive/mytharchive/main.cpp.

Referenced by mythplugin_init().

◆ mythplugin_init()

int mythplugin_init ( const char *  libversion)

◆ mythplugin_run()

int mythplugin_run ( void  )

◆ mythplugin_config()

int mythplugin_config ( void  )

Variable Documentation

◆ m_callback

void(* m_callback) (void *, QString &) = nullptr
static

Definition at line 256 of file mythplugins/mytharchive/mytharchive/main.cpp.

Referenced by ArchiveCallback(), and runMenu().

◆ m_callbackdata

void* m_callbackdata = nullptr
static

Definition at line 257 of file mythplugins/mytharchive/mytharchive/main.cpp.

Referenced by ArchiveCallback(), and runMenu().