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 
22  DriverOption(void) = default;
23  ~DriverOption(void) = default;
24 
25  QString m_name;
27  int32_t m_minimum {0};
28  int32_t m_maximum {0};
29  int32_t m_default_value {0};
30  int32_t m_current {0};
31  uint32_t m_step {0};
32  uint32_t m_flags {0};
35 };
36 
37 #endif
QString m_name
Definition: driveroption.h:25
QMap< category_t, DriverOption > Options
Definition: driveroption.h:20
int32_t m_minimum
Definition: driveroption.h:27
QMap< int, QString > menu_t
Definition: driveroption.h:19
int32_t m_maximum
Definition: driveroption.h:28
category_t m_category
Definition: driveroption.h:26
uint32_t m_step
Definition: driveroption.h:31
menu_t m_menu
Definition: driveroption.h:33
DriverOption(void)=default
uint32_t m_flags
Definition: driveroption.h:32
int32_t m_current
Definition: driveroption.h:30
~DriverOption(void)=default
int32_t m_default_value
Definition: driveroption.h:29
type_t m_type
Definition: driveroption.h:34