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
bool GetProgramInfo(const MythUtilCommandLineParser &cmdline, ProgramInfo &pginfo)
Definition: mythutil.cpp:11
Holds information on recordings and videos.
Definition: programinfo.h:67
QMap< QString, UtilFunc > UtilMap
Definition: mythutil.h:15
int(*)(const MythUtilCommandLineParser &cmdline) UtilFunc
Definition: mythutil.h:14
MythCommFlagCommandLineParser cmdline