MythTV  master
mythdisplayosx.h
Go to the documentation of this file.
1 #ifndef MYTHDISPLAYOSX_H
2 #define MYTHDISPLAYOSX_H
3 
4 // MythTV
5 #include "mythdisplay.h"
6 
7 // CoreGraphics
8 #include <CoreGraphics/CGDirectDisplay.h>
9 
11 {
12  public:
14  ~MythDisplayOSX() override;
15 
16  void UpdateCurrentMode(void) override;
17 
18  bool VideoModesAvailable(void) override { return true; }
19  bool UsingVideoModes(void) override;
20  const std::vector<MythDisplayMode>& GetVideoModes(void) override;
21  bool SwitchToVideoMode(QSize Size, double DesiredRate) override;
22 
23  private:
24  void ClearModes(void);
25  QMap<uint64_t, CGDisplayModeRef> m_modeMap { };
26 };
27 
28 #endif // MYTHDISPLAYOSX_H
void ClearModes(void)
~MythDisplayOSX() override
bool UsingVideoModes(void) override
void UpdateCurrentMode(void) override
Retrieve screen details.
bool SwitchToVideoMode(QSize Size, double DesiredRate) override
const std::vector< MythDisplayMode > & GetVideoModes(void) override
QMap< uint64_t, CGDisplayModeRef > m_modeMap
bool VideoModesAvailable(void) override