|
MythTV master
|
A simple wrapper around libXNVCtrl - which is dynamically loaded on demand. More...
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 34 of file mythnvcontrol.cpp.
| MythNVControl::~MythNVControl | ( | ) |
Definition at line 221 of file mythnvcontrol.cpp.
|
protected |
Definition at line 211 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 166 of file mythnvcontrol.cpp.
Referenced by MythGSync::CreateGSync().
| int MythNVControl::GetDisplayID | ( | ) | const |
Definition at line 227 of file mythnvcontrol.cpp.
| MythXDisplay* MythNVControl::m_display { nullptr } |
Definition at line 47 of file mythnvcontrol.cpp.
Referenced by GetDisplayID(), and ~MythNVControl().
|
protected |
Definition at line 44 of file mythnvcontrol.cpp.
Referenced by ~MythNVControl().
| QueryTargetBinary MythNVControl::m_queryBinary { nullptr } |
Definition at line 48 of file mythnvcontrol.cpp.
Referenced by GetDisplayID().
| QueryScreenAttrib MythNVControl::m_queryScreen { nullptr } |
Definition at line 49 of file mythnvcontrol.cpp.
| QueryTargetAttrib MythNVControl::m_queryTarget { nullptr } |
Definition at line 50 of file mythnvcontrol.cpp.
| SetAttribute MythNVControl::m_setAttrib { nullptr } |
Definition at line 51 of file mythnvcontrol.cpp.