MythTV  master
mythscreensaverdrm.h
Go to the documentation of this file.
1 #ifndef MYTHSCREENSAVERDRM_H
2 #define MYTHSCREENSAVERDRM_H
3 
4 // MythTV
6 #include "mythscreensaver.h"
7 
9 {
10  Q_OBJECT
11 
12  public:
13  static MythScreenSaverDRM* Create(QObject* Parent, MythDisplay* mDisplay);
14 
15  public slots:
16  void Disable() override;
17  void Restore() override;
18  void Reset() override;
19  bool Asleep() override;
20 
21  private:
22  explicit MythScreenSaverDRM(QObject* Parent, MythDisplay* mDisplay);
23  bool m_valid { false };
24  MythDisplayDRM* m_display { nullptr };
25  MythDRMPtr m_device { nullptr };
26 
27 };
28 
29 #endif
MythDisplayDRM
Definition: mythdisplaydrm.h:11
MythScreenSaverDRM::Restore
void Restore() override
Definition: mythscreensaverdrm.cpp:36
MythScreenSaverDRM::m_device
MythDRMPtr m_device
Definition: mythscreensaverdrm.h:25
MythScreenSaver
Base Class for screensavers.
Definition: mythscreensaver.h:14
MythScreenSaverDRM::m_display
MythDisplayDRM * m_display
Definition: mythscreensaverdrm.h:24
MythScreenSaverDRM
Definition: mythscreensaverdrm.h:8
MythScreenSaverDRM::m_valid
bool m_valid
Definition: mythscreensaverdrm.h:23
mythdisplaydrm.h
MythDRMPtr
std::shared_ptr< class MythDRMDevice > MythDRMPtr
Definition: mythdrmdevice.h:18
MythScreenSaverDRM::MythScreenSaverDRM
MythScreenSaverDRM(QObject *Parent, MythDisplay *mDisplay)
Definition: mythscreensaverdrm.cpp:25
mythscreensaver.h
MythScreenSaverDRM::Disable
void Disable() override
Definition: mythscreensaverdrm.cpp:32
MythDisplay
Definition: mythdisplay.h:22
MythScreenSaverDRM::Create
static MythScreenSaverDRM * Create(QObject *Parent, MythDisplay *mDisplay)
Definition: mythscreensaverdrm.cpp:7
MythScreenSaverDRM::Asleep
bool Asleep() override
Definition: mythscreensaverdrm.cpp:45
MythScreenSaverDRM::Reset
void Reset() override
Definition: mythscreensaverdrm.cpp:41