MythTV  master
Macros | Functions | Variables
mythtv/programs/mythjobqueue/main.cpp File Reference
#include <cmath>
#include <csignal>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <fcntl.h>
#include <fstream>
#include <iostream>
#include <string>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <QCoreApplication>
#include <QString>
#include <QRegExp>
#include <QFileInfo>
#include <QDir>
#include "exitcodes.h"
#include "mythcontext.h"
#include "jobqueue.h"
#include "mythdbcon.h"
#include "mythversion.h"
#include "commandlineparser.h"
#include "compat.h"
#include "mythsystemevent.h"
#include "loggingserver.h"
#include "mythlogging.h"
#include "signalhandling.h"
#include "housekeeper.h"
#include "hardwareprofile.h"
#include "cleanupguard.h"
Include dependency graph for mythtv/programs/mythjobqueue/main.cpp:

Go to the source code of this file.

Macros

#define LOC   QString("MythJobQueue: ")
 
#define LOC_WARN   QString("MythJobQueue, Warning: ")
 
#define LOC_ERR   QString("MythJobQueue, Error: ")
 

Functions

static void cleanup (void)
 
int main (int argc, char *argv[])
 

Variables

JobQueuejobqueue = nullptr
 
QString pidfile
 
QString logfile
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("MythJobQueue: ")

Definition at line 35 of file mythtv/programs/mythjobqueue/main.cpp.

◆ LOC_WARN

#define LOC_WARN   QString("MythJobQueue, Warning: ")

Definition at line 36 of file mythtv/programs/mythjobqueue/main.cpp.

◆ LOC_ERR

#define LOC_ERR   QString("MythJobQueue, Error: ")

Definition at line 37 of file mythtv/programs/mythjobqueue/main.cpp.

Function Documentation

◆ cleanup()

static void cleanup ( void  )
static

Definition at line 45 of file mythtv/programs/mythjobqueue/main.cpp.

Referenced by main().

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 59 of file mythtv/programs/mythjobqueue/main.cpp.

Variable Documentation

◆ jobqueue

JobQueue* jobqueue = nullptr

Definition at line 41 of file mythtv/programs/mythjobqueue/main.cpp.

Referenced by main().

◆ pidfile

QString pidfile

Definition at line 42 of file mythtv/programs/mythjobqueue/main.cpp.

Referenced by cleanup().

◆ logfile

QString logfile

Definition at line 43 of file mythtv/programs/mythjobqueue/main.cpp.