]> git.saurik.com Git - wxWidgets.git/blame - utils/wxMMedia2/sample/test_med5.cpp
Compile fixes.
[wxWidgets.git] / utils / wxMMedia2 / sample / test_med5.cpp
CommitLineData
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/cdunix.h"
12
13class MyApp: public wxApp {
14 bool OnInit() {
15 wxCDAudioLinux m_cd;
16
17 m_cd.Play(m_cd.GetToc().GetTrackTime(0),m_cd.GetToc().GetTrackTime(1));
18 return TRUE;
19 }
20};
21
22IMPLEMENT_APP(MyApp)