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 "archivedbcheck.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 43 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 111 of file mythplugins/mytharchive/mytharchive/main.cpp.

Referenced by ArchiveCallback(), and initKeys().

◆ runCreateArchive()

static void runCreateArchive ( void  )
static

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

Referenced by ArchiveCallback(), and initKeys().

◆ runEncodeVideo()

static void runEncodeVideo ( void  )
static

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

Referenced by ArchiveCallback().

◆ runImportVideo()

static void runImportVideo ( void  )
static

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

Referenced by ArchiveCallback(), and initKeys().

◆ runShowLog()

static void runShowLog ( void  )
static

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

Referenced by ArchiveCallback(), and initKeys().

◆ runTestDVD()

static void runTestDVD ( void  )
static

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

Referenced by ArchiveCallback(), and initKeys().

◆ runBurnDVD()

static void runBurnDVD ( void  )
static

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

Referenced by ArchiveCallback(), and initKeys().

◆ ArchiveCallback()

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

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

Referenced by runMenu().

◆ runMenu()

static int runMenu ( const QString &  which_menu)
static

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

Referenced by mythplugin_run().

◆ initKeys()

static void initKeys ( void  )
static

Definition at line 321 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

◆ m_callbackdata

void* m_callbackdata = nullptr
static

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

Referenced by ArchiveCallback(), and runMenu().