18 lines
364 B
C++
18 lines
364 B
C++
|
|
#ifndef SPECTRE_PLATFORM_UNIX_X11SHAREDDISPLAY_H
|
|
#define SPECTRE_PLATFORM_UNIX_X11SHAREDDISPLAY_H
|
|
|
|
#include <string>
|
|
#include <X11/Xlib.h>
|
|
|
|
namespace sp {
|
|
|
|
::Display* XGetDisplay();
|
|
|
|
void XReleaseDisplay(::Display* disp);
|
|
|
|
Atom getAtom(const std::string& name, bool onlyIfExists = false);
|
|
|
|
} // namespace sp
|
|
|
|
#endif /* SPECTRE_PLATFORM_UNIX_X11SHAREDDISPLAY_H */
|