author | harlekin <harlekin> | 2002-07-01 23:39:54 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-07-01 23:39:54 (UTC) |
commit | 7ae4965a4052808172e843356cdfb2d0a673bccf (patch) (side-by-side diff) | |
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 @@ + +#include <qpe/qpeapplication.h> +#include "mediaplayerstate.h" +#include "playlistwidget.h" +#include "audiowidget.h" +#include "videowidget.h" +#include "mediaplayer.h" + +MediaPlayerState *mediaPlayerState; +PlayListWidget *playList; +AudioWidget *audioUI; +VideoWidget *videoUI; + +int main(int argc, char **argv) { + QPEApplication a(argc,argv); + + MediaPlayerState st( 0, "mediaPlayerState" ); + mediaPlayerState = &st; + PlayListWidget pl( 0, "playList" ); + playList = &pl; + AudioWidget aw( 0, "audioUI" ); + audioUI = &aw; + VideoWidget vw( 0, "videoUI" ); + videoUI = &vw; + + MediaPlayer mp( 0, "mediaPlayer" ); + + a.showMainDocumentWidget(&pl); + + return a.exec(); +} + + |