repo.or.cz
/
vlc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Contribs: update libarchive
[vlc.git]
/
doc
/
libvlc
/
QtPlayer
/
main.cpp
blob
4ebf3f943c82ebb045a4f24b5944c9123f6b7a1e
1
/******************************
2
* Qt player using libVLC *
3
* By protonux *
4
* *
5
* Under WTFPL *
6
******************************/
7
8
#include <QApplication>
9
#include
"player.h"
10
11
#ifdef Q_WS_X11
12
#include <X11/Xlib.h>
13
#endif
14
15
int
main
(
int
argc
,
char
*
argv
[]) {
16
#ifdef Q_WS_X11
17
XInitThreads
();
18
#endif
19
20
QApplication
app
(
argc
,
argv
);
21
22
Mwindow player
;
23
player
.
show
();
24
25
return
app
.
exec
();
26
}