MythTV  master
mythdrmmode.h
Go to the documentation of this file.
1 #ifndef MYTHDRMMODE_H
2 #define MYTHDRMMODE_H
3 
4 // MythTV
6 
7 using DRMMode = std::shared_ptr<class MythDRMMode>;
8 using DRMModes = std::vector<DRMMode>;
9 
11 {
12  public:
13  static DRMMode Create(drmModeModeInfoPtr Mode, int Index);
14 
15  int m_index { 0 };
16  double m_rate { 0.0 };
17  uint16_t m_width { 0 };
18  uint16_t m_height { 0 };
19  uint32_t m_flags { 0 };
20  QString m_name;
21 
22  protected:
23  explicit MythDRMMode(drmModeModeInfoPtr Mode, int Index);
24 
25  private:
26  Q_DISABLE_COPY(MythDRMMode)
27 };
28 
29 #endif
MUI_PUBLIC
#define MUI_PUBLIC
Definition: mythuiexp.h:9
mythdrmresources.h
MythDRMMode
A simple object representing a DRM video mode.
Definition: mythdrmmode.h:10
MythDRMMode::m_name
QString m_name
Definition: mythdrmmode.h:20
DRMMode
std::shared_ptr< class MythDRMMode > DRMMode
Definition: mythdrmmode.h:7
DRMModes
std::vector< DRMMode > DRMModes
Definition: mythdrmmode.h:8
uint16_t
unsigned short uint16_t
Definition: iso6937tables.h:3
Mode
Mode
Definition: synaesthesia.h:23