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