MythTV
master
|
A simple wrapper around libXNVCtrl - which is dynamically loaded on demand. More...
#include <libmythui/platforms/mythnvcontrol.h>
Public Member Functions | |
~MythNVControl () | |
int | GetDisplayID () const |
Static Public Member Functions | |
static NVControl | Create () |
Create a valid instance of MythNVControl. More... | |
Public Attributes | |
MythXDisplay * | m_display { nullptr } |
QueryTargetBinary | m_queryBinary { nullptr } |
QueryScreenAttrib | m_queryScreen { nullptr } |
QueryTargetAttrib | m_queryTarget { nullptr } |
SetAttribute | m_setAttrib { nullptr } |
Protected Member Functions | |
MythNVControl (const QString &Path, MythXDisplay *MDisplay) | |
Protected Attributes | |
QLibrary | m_lib |
A simple wrapper around libXNVCtrl - which is dynamically loaded on demand.
Definition at line 38 of file mythnvcontrol.h.
MythNVControl::~MythNVControl | ( | ) |
Definition at line 190 of file mythnvcontrol.cpp.
|
protected |
Definition at line 180 of file mythnvcontrol.cpp.
Referenced by Create().
|
static |
Create a valid instance of MythNVControl.
If libXNVCtrl is not found at the first attempt, this function will always return null. If libXNVCtrl is found but the current display does not support the extension, further attempts will be made in case the screen changes (to one which does support the extension).
Definition at line 135 of file mythnvcontrol.cpp.
Referenced by MythVRR::Create(), and MythGSync::ForceGSync().
int MythNVControl::GetDisplayID | ( | ) | const |
Definition at line 196 of file mythnvcontrol.cpp.
|
protected |
Definition at line 48 of file mythnvcontrol.h.
Referenced by ~MythNVControl().
MythXDisplay* MythNVControl::m_display { nullptr } |
Definition at line 51 of file mythnvcontrol.h.
Referenced by GetDisplayID(), and ~MythNVControl().
QueryTargetBinary MythNVControl::m_queryBinary { nullptr } |
Definition at line 52 of file mythnvcontrol.h.
Referenced by GetDisplayID().
QueryScreenAttrib MythNVControl::m_queryScreen { nullptr } |
Definition at line 53 of file mythnvcontrol.h.
QueryTargetAttrib MythNVControl::m_queryTarget { nullptr } |
Definition at line 54 of file mythnvcontrol.h.
SetAttribute MythNVControl::m_setAttrib { nullptr } |
Definition at line 55 of file mythnvcontrol.h.