MythTV
master
mythtv
programs
mythutil
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 "
libmythbase/programinfo.h
"
10
11
// Local includes
12
#include "
mythutil_commandlineparser.h
"
13
14
using
UtilFunc
= int (*)(
const
MythUtilCommandLineParser
&
cmdline
);
15
using
UtilMap
= QMap<QString, UtilFunc>;
16
17
bool
GetProgramInfo
(
const
MythUtilCommandLineParser
&
cmdline
,
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
Generated on Mon Jan 6 2025 03:16:59 for MythTV by
1.8.17