AlarmNotifications
PANDA Slow Control Alarm Daemon
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
main_beedo.cpp
Go to the documentation of this file.
1
34
#include <QApplication>
35
#include <QIcon>
36
37
#include "
beedo.h
"
38
#include "
x11compat.h
"
39
40
using namespace
AlarmNotifications
;
41
42
int
main
(
int
argc,
char
** argv )
43
{
44
Q_INIT_RESOURCE(beedo);
// Force loading the video resource from static library alarmwatcherbeedoresource
45
InitializeXThreads
();
46
QApplication app ( argc, argv );
47
app.setApplicationName ( QString::fromUtf8 (
"Beedo engine test application"
) );
48
app.setApplicationVersion ( QString::fromUtf8 (
"1.0.0"
) );
49
app.setQuitOnLastWindowClosed (
false
);
50
app.setWindowIcon ( QIcon::fromTheme ( QString::fromUtf8 (
"dialog-warning"
) ) );
51
Beedo::instance
().
start
();
52
app.exec();
53
Beedo::instance
().
destroy
();
54
return
0;
55
}
AlarmNotifications::Beedo::destroy
void destroy()
Destroy all media objects.
Definition:
beedo.cpp:132
main
int main(int argc, char **argv)
Definition:
main_beedo.cpp:42
AlarmNotifications::Beedo::start
static void start() noexcept
Start video playback.
Definition:
beedo.h:199
AlarmNotifications::Beedo::instance
static Beedo & instance()
Get singleton instance.
Definition:
beedo.cpp:53
beedo.h
Provide an opto-acoustic alarm notification on a control room PC.
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.8