]>
git.saurik.com Git - wxWidgets.git/blob - contrib/samples/mmedia/mmboard.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Multimedia Board header
4 // Author: Guilhem Lavaux, <guilhem.lavaux@libertysurf.fr>
8 // Copyright: (c) 2000, Guilhem Lavaux
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _MMBOARD_APP_H_
13 #define _MMBOARD_APP_H_
15 #if defined(__GNUG__) && !defined(__APPLE__)
16 #pragma interface "mmboard.cpp"
19 // for compilers that support precompilation, includes "wx/wx.h"
20 #include "wx/wxprec.h"
26 // for all others, include the necessary headers
31 // --------------------------------------------------------------------------
33 // --------------------------------------------------------------------------
35 #define MM_SOUND_OSS 0x01
36 #define MM_SOUND_ESD 0x02
37 #define MM_SOUND_WIN 0x04
39 // --------------------------------------------------------------------------
41 // --------------------------------------------------------------------------
43 // Define a new application type, each program should derive a class from wxApp
44 class MMBoardApp
: public wxApp
49 // override base class virtuals
50 // ----------------------------
52 virtual bool OnInit();
54 wxUint8
TestMultimediaCaps();