MythTV  master
driveroption.h
Go to the documentation of this file.
1 #ifndef _Driver_Option_h_
2 #define _Driver_Option_h_
3 
4 #include <QMap>
5 
7 {
8  // The order of this list dictates the order the options will be shown
15  };
18 
19  typedef QMap<int, QString> menu_t;
20  typedef QMap<category_t, DriverOption> Options;
21 
23  default_value(0), current(0), step(0), flags(0),
24  type(UNKNOWN_TYPE) {}
25  ~DriverOption(void) = default;
26 
27  QString name;
30  uint32_t step;
31  uint32_t flags;
34 };
35 
36 #endif
int32_t default_value
Definition: driveroption.h:29
QMap< category_t, DriverOption > Options
Definition: driveroption.h:20
int32_t current
Definition: driveroption.h:29
QMap< int, QString > menu_t
Definition: driveroption.h:19
uint32_t step
Definition: driveroption.h:30
QString name
Definition: driveroption.h:27
int32_t minimum
Definition: driveroption.h:29
category_t category
Definition: driveroption.h:28
~DriverOption(void)=default
DriverOption(void)
Definition: driveroption.h:22
uint32_t flags
Definition: driveroption.h:31
int32_t maximum
Definition: driveroption.h:29