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 "programinfo.h"
10 
11 // Local includes
12 #include "commandlineparser.h"
13 
14 using UtilFunc = int (*)(const MythUtilCommandLineParser &cmdline);
15 using UtilMap = QMap<QString, UtilFunc>;
16 
18  ProgramInfo &pginfo);
19 
20 #endif
commandlineparser.h
MythUtilCommandLineParser
Definition: mythutil/commandlineparser.h:9
programinfo.h
GetProgramInfo
bool GetProgramInfo(const MythUtilCommandLineParser &cmdline, ProgramInfo &pginfo)
Definition: mythutil.cpp:11
cmdline
MythCommFlagCommandLineParser cmdline
Definition: mythtv/programs/mythcommflag/main.cpp:77
ProgramInfo
Holds information on recordings and videos.
Definition: programinfo.h:68
UtilMap
QMap< QString, UtilFunc > UtilMap
Definition: mythutil.h:15
UtilFunc
int(*)(const MythUtilCommandLineParser &cmdline) UtilFunc
Definition: mythutil.h:14