MythTV  master
Functions | Variables
mytharchive.cpp File Reference
#include <csignal>
#include <cstdlib>
#include <iostream>
#include <processthreadsapi.h>
#include <QApplication>
#include <QDir>
#include <QTimer>
#include <libmyth/mythcontext.h>
#include <libmythbase/mythcoreutil.h>
#include <libmythbase/mythplugin.h>
#include <libmythbase/mythpluginapi.h>
#include <libmythbase/mythsystemlegacy.h>
#include <libmythbase/mythversion.h>
#include <libmythui/mythdialogbox.h>
#include <libmythui/mythmainwindow.h>
#include <libmythui/myththemedmenu.h>
#include <libmythui/mythuihelper.h>
#include "archivedbcheck.h"
#include "archivesettings.h"
#include "archiveutil.h"
#include "exportnative.h"
#include "fileselector.h"
#include "importnative.h"
#include "logviewer.h"
#include "mythburn.h"
#include "recordingselector.h"
#include "selectdestination.h"
#include "videoselector.h"
Include dependency graph for mytharchive.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 ([[maybe_unused]] 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 46 of file mytharchive.cpp.

Referenced by checkLockFile().

◆ checkLockFile()

static bool checkLockFile ( const QString &  lockFile)
static

Definition at line 90 of file mytharchive.cpp.

Referenced by runCreateArchive(), runCreateDVD(), and runImportVideo().

◆ runCreateDVD()

static void runCreateDVD ( void  )
static

Definition at line 119 of file mytharchive.cpp.

Referenced by ArchiveCallback(), and initKeys().

◆ runCreateArchive()

static void runCreateArchive ( void  )
static

Definition at line 145 of file mytharchive.cpp.

Referenced by ArchiveCallback(), and initKeys().

◆ runEncodeVideo()

static void runEncodeVideo ( void  )
static

Definition at line 171 of file mytharchive.cpp.

Referenced by ArchiveCallback().

◆ runImportVideo()

static void runImportVideo ( void  )
static

Definition at line 176 of file mytharchive.cpp.

Referenced by ArchiveCallback(), and initKeys().

◆ runShowLog()

static void runShowLog ( void  )
static

Definition at line 202 of file mytharchive.cpp.

Referenced by ArchiveCallback(), and initKeys().

◆ runTestDVD()

static void runTestDVD ( void  )
static

Definition at line 207 of file mytharchive.cpp.

Referenced by ArchiveCallback(), and initKeys().

◆ runBurnDVD()

static void runBurnDVD ( void  )
static

Definition at line 245 of file mytharchive.cpp.

Referenced by ArchiveCallback(), and initKeys().

◆ ArchiveCallback()

static void ArchiveCallback ( [[maybe_unused] ] void *  data,
QString &  selection 
)
static

Definition at line 255 of file mytharchive.cpp.

Referenced by runMenu().

◆ runMenu()

static int runMenu ( const QString &  which_menu)
static

Definition at line 282 of file mytharchive.cpp.

Referenced by mythplugin_run().

◆ initKeys()

static void initKeys ( void  )
static

Definition at line 327 of file mytharchive.cpp.

Referenced by mythplugin_init().

◆ mythplugin_init()

int mythplugin_init ( const char *  libversion)

Definition at line 346 of file mytharchive.cpp.

◆ mythplugin_run()

int mythplugin_run ( void  )

Definition at line 373 of file mytharchive.cpp.

◆ mythplugin_config()

int mythplugin_config ( void  )

Definition at line 378 of file mytharchive.cpp.

Variable Documentation

◆ m_callback

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

Definition at line 252 of file mytharchive.cpp.

Referenced by ArchiveCallback(), MythFileOpenRegisterCallback(), and runMenu().

◆ m_callbackdata

void* m_callbackdata = nullptr
static

Definition at line 253 of file mytharchive.cpp.

Referenced by ArchiveCallback(), and runMenu().