Some other mini test I used for wxmedia2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
23
utils/wxMMedia2/sample/test_med3.cpp
Normal file
23
utils/wxMMedia2/sample/test_med3.cpp
Normal file
@@ -0,0 +1,23 @@
|
||||
// --------------------------------------------------------------------------
|
||||
// Name: test_med.cpp
|
||||
// Purpose:
|
||||
// Date: 08/11/1999
|
||||
// Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999
|
||||
// CVSID: $Id$
|
||||
// --------------------------------------------------------------------------
|
||||
#include <wx/app.h>
|
||||
#include <wx/wfstream.h>
|
||||
#include <wx/frame.h>
|
||||
#include "../lib/vidxanm.h"
|
||||
|
||||
class MyApp: public wxApp {
|
||||
bool OnInit() {
|
||||
wxFileInputStream *file = new wxFileInputStream(argv[1]);
|
||||
wxVideoXANIM *vidxanm = new wxVideoXANIM(*file);
|
||||
|
||||
vidxanm->Play();
|
||||
return TRUE;
|
||||
}
|
||||
};
|
||||
|
||||
IMPLEMENT_APP(MyApp)
|
Reference in New Issue
Block a user