]> git.saurik.com Git - wxWidgets.git/blob - contrib/samples/mmedia/mmboard.h
Applied patch [ 1263950 ] wxConnection fixes for Unicode
[wxWidgets.git] / contrib / samples / mmedia / mmboard.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: mmboard.h
3 // Purpose: Multimedia Board header
4 // Author: Guilhem Lavaux, <guilhem.lavaux@libertysurf.fr>
5 // Modified by:
6 // Created: 13/02/2000
7 // RCS-ID: $Id$
8 // Copyright: (c) 2000, Guilhem Lavaux
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _MMBOARD_APP_H_
13 #define _MMBOARD_APP_H_
14
15 #if defined(__GNUG__) && !defined(__APPLE__)
16 #pragma interface "mmboard.h"
17 #endif
18
19 // for compilers that support precompilation, includes "wx/wx.h"
20 #include "wx/wxprec.h"
21
22 #ifdef __BORLANDC__
23 #pragma hdrstop
24 #endif
25
26 // for all others, include the necessary headers
27 #ifndef WX_PRECOMP
28 #include "wx/wx.h"
29 #endif
30
31 // --------------------------------------------------------------------------
32 // constants
33 // --------------------------------------------------------------------------
34
35 #define MM_SOUND_OSS 0x01
36 #define MM_SOUND_ESD 0x02
37 #define MM_SOUND_WIN 0x04
38
39 // --------------------------------------------------------------------------
40 // Class definitions
41 // --------------------------------------------------------------------------
42
43 // Define a new application type, each program should derive a class from wxApp
44 class MMBoardApp : public wxApp
45 {
46 public:
47 wxUint8 m_caps;
48
49 // override base class virtuals
50 // ----------------------------
51
52 virtual bool OnInit();
53
54 wxUint8 TestMultimediaCaps();
55 };
56
57 #endif