]>
Commit | Line | Data |
---|---|---|
a5f4a1bd GL |
1 | // -------------------------------------------------------------------------- |
2 | // Name: test_med.cpp | |
3 | // Purpose: | |
4 | // Date: 08/11/1999 | |
5 | // Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999 | |
6 | // CVSID: $Id$ | |
7 | // -------------------------------------------------------------------------- | |
8 | #include <wx/app.h> | |
9 | #include <wx/wfstream.h> | |
10 | #include <wx/frame.h> | |
11 | #include "../lib/vidxanm.h" | |
12 | ||
13 | class MyApp: public wxApp { | |
14 | bool OnInit() { | |
15 | wxFileInputStream *file = new wxFileInputStream(argv[1]); | |
16 | wxVideoXANIM *vidxanm = new wxVideoXANIM(*file); | |
17 | ||
18 | vidxanm->Play(); | |
19 | return TRUE; | |
20 | } | |
21 | }; | |
22 | ||
23 | IMPLEMENT_APP(MyApp) |