MythTV  master
mythutil.h
Go to the documentation of this file.
1 #ifndef MYTHUTIL_H_
2 #define MYTHUTIL_H_
3 
4 // Qt includes
5 #include <QMap>
6 #include <QString>
7 
8 // libmyth* includes
9 #include "libmyth/programinfo.h"
10 
11 // Local includes
13 
14 using UtilFunc = int (*)(const MythUtilCommandLineParser &cmdline);
15 using UtilMap = QMap<QString, UtilFunc>;
16 
18  ProgramInfo &pginfo);
19 
20 #endif
cmdline
MythCommFlagCommandLineParser cmdline
Definition: mythcommflag.cpp:72
MythUtilCommandLineParser
Definition: mythutil_commandlineparser.h:8
programinfo.h
mythutil_commandlineparser.h
GetProgramInfo
bool GetProgramInfo(const MythUtilCommandLineParser &cmdline, ProgramInfo &pginfo)
Definition: mythutil.cpp:32
ProgramInfo
Holds information on recordings and videos.
Definition: programinfo.h:67
UtilMap
QMap< QString, UtilFunc > UtilMap
Definition: mythutil.h:15
UtilFunc
int(*)(const MythUtilCommandLineParser &cmdline) UtilFunc
Definition: mythutil.h:14