]>
Commit | Line | Data |
---|---|---|
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 | // for compilers that support precompilation, includes "wx/wx.h" | |
16 | #include "wx/wxprec.h" | |
17 | ||
18 | #ifdef __BORLANDC__ | |
19 | #pragma hdrstop | |
20 | #endif | |
21 | ||
22 | // for all others, include the necessary headers | |
23 | #ifndef WX_PRECOMP | |
24 | #include "wx/wx.h" | |
25 | #endif | |
26 | ||
27 | // -------------------------------------------------------------------------- | |
28 | // constants | |
29 | // -------------------------------------------------------------------------- | |
30 | ||
31 | #define MM_SOUND_OSS 0x01 | |
32 | #define MM_SOUND_ESD 0x02 | |
33 | #define MM_SOUND_WIN 0x04 | |
34 | ||
35 | // -------------------------------------------------------------------------- | |
36 | // Class definitions | |
37 | // -------------------------------------------------------------------------- | |
38 | ||
39 | // Define a new application type, each program should derive a class from wxApp | |
40 | class MMBoardApp : public wxApp | |
41 | { | |
42 | public: | |
43 | wxUint8 m_caps; | |
44 | ||
45 | // override base class virtuals | |
46 | // ---------------------------- | |
47 | ||
48 | virtual bool OnInit(); | |
49 | ||
50 | wxUint8 TestMultimediaCaps(); | |
51 | }; | |
52 | ||
53 | #endif |