author | harlekin <harlekin> | 2002-07-01 23:39:54 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-07-01 23:39:54 (UTC) |
commit | 7ae4965a4052808172e843356cdfb2d0a673bccf (patch) (unidiff) | |
tree | cb9567ea7740ea1b3e63de03f836581a0e5ad589 /noncore/multimedia/opieplayer2/main.cpp | |
parent | 329ea43b68180058bcd8e9d2af4d09d9c03c55a3 (diff) | |
download | opie-7ae4965a4052808172e843356cdfb2d0a673bccf.zip opie-7ae4965a4052808172e843356cdfb2d0a673bccf.tar.gz opie-7ae4965a4052808172e843356cdfb2d0a673bccf.tar.bz2 |
gui
Diffstat (limited to 'noncore/multimedia/opieplayer2/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/main.cpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/main.cpp b/noncore/multimedia/opieplayer2/main.cpp new file mode 100644 index 0000000..827f773 --- a/dev/null +++ b/noncore/multimedia/opieplayer2/main.cpp | |||
@@ -0,0 +1,33 @@ | |||
1 | |||
2 | #include <qpe/qpeapplication.h> | ||
3 | #include "mediaplayerstate.h" | ||
4 | #include "playlistwidget.h" | ||
5 | #include "audiowidget.h" | ||
6 | #include "videowidget.h" | ||
7 | #include "mediaplayer.h" | ||
8 | |||
9 | MediaPlayerState *mediaPlayerState; | ||
10 | PlayListWidget *playList; | ||
11 | AudioWidget *audioUI; | ||
12 | VideoWidget *videoUI; | ||
13 | |||
14 | int main(int argc, char **argv) { | ||
15 | QPEApplication a(argc,argv); | ||
16 | |||
17 | MediaPlayerState st( 0, "mediaPlayerState" ); | ||
18 | mediaPlayerState = &st; | ||
19 | PlayListWidget pl( 0, "playList" ); | ||
20 | playList = &pl; | ||
21 | AudioWidget aw( 0, "audioUI" ); | ||
22 | audioUI = &aw; | ||
23 | VideoWidget vw( 0, "videoUI" ); | ||
24 | videoUI = &vw; | ||
25 | |||
26 | MediaPlayer mp( 0, "mediaPlayer" ); | ||
27 | |||
28 | a.showMainDocumentWidget(&pl); | ||
29 | |||
30 | return a.exec(); | ||
31 | } | ||
32 | |||
33 | |||