]>
Commit | Line | Data |
---|---|---|
e8482f24 GL |
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 | ||
ab7ce33c | 15 | #if defined(__GNUG__) && !defined(__APPLE__) |
e8482f24 GL |
16 | #pragma interface "mmboard.cpp" |
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 |