AlarmNotifications
PANDA Slow Control Alarm Daemon
Main Page
Namespaces
Classes
Files
File List
File Members
x11compat.cpp
Go to the documentation of this file.
1
34
#include "
x11compat.h
"
35
36
#include <stdexcept>
37
38
// This include creates a lot of defines like "None" that will break
39
// enums in other header files, so this function call has
40
// been isolated into its own translation unit:
41
#include "X11/Xlib.h"
42
43
using namespace
AlarmNotifications
;
44
45
void
AlarmNotifications::InitializeXThreads
()
46
{
47
const
int
result = XInitThreads();
48
if
( result == 0 )
49
throw
std::logic_error (
"Could not initialize X11 threads!"
);
50
}
AlarmNotifications
Namespace for Alarm Notifications application.
Definition:
alarmconfiguration.h:46
x11compat.h
Compability wrapper for the X11 API.
AlarmNotifications::InitializeXThreads
void InitializeXThreads()
Call XInitThreads() from Xlib.
Definition:
x11compat.cpp:45
Generated by
1.8.11