MythTV  master
Classes | Macros | Functions
mythxdisplay.h File Reference
#include <QMutex>
#include <QSize>
#include <QRect>
#include <X11/Xlib.h>
#include <vector>
#include "mythuiexp.h"
Include dependency graph for mythxdisplay.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  MythXDisplay
 This file is intended to hold X11 specific utility functions. More...
class  MythXLocker


#define XLOCK(dpy, arg)   { dpy->Lock(); arg; dpy->Unlock(); }


MUI_PUBLIC void LockMythXDisplays (bool lock)
MUI_PUBLIC MythXDisplayGetMythXDisplay (Display *)
MUI_PUBLIC MythXDisplayOpenMythXDisplay (void)

Macro Definition Documentation


#define XLOCK (   dpy,
)    { dpy->Lock(); arg; dpy->Unlock(); }

Definition at line 75 of file mythxdisplay.h.

Function Documentation

◆ LockMythXDisplays()

MUI_PUBLIC void LockMythXDisplays ( bool  lock)

Definition at line 36 of file mythxdisplay.cpp.

◆ GetMythXDisplay()

MUI_PUBLIC MythXDisplay* GetMythXDisplay ( Display *  )

Definition at line 52 of file mythxdisplay.cpp.

◆ OpenMythXDisplay()

MUI_PUBLIC MythXDisplay* OpenMythXDisplay ( void  )