GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer Tools update contain a bug concerning #pragma interface handling that can only be worked around by not using them (and they are not necessary anyways) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
		
			
				
	
	
		
			58 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			58 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| /////////////////////////////////////////////////////////////////////////////
 | |
| // Name:        mmboard.h
 | |
| // Purpose:     Multimedia Board header
 | |
| // Author:      Guilhem Lavaux, <guilhem.lavaux@libertysurf.fr>
 | |
| // Modified by:
 | |
| // Created:     13/02/2000
 | |
| // RCS-ID:      $Id$
 | |
| // Copyright:   (c) 2000, Guilhem Lavaux
 | |
| // Licence:     wxWindows licence
 | |
| /////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
| #ifndef _MMBOARD_APP_H_
 | |
| #define _MMBOARD_APP_H_
 | |
| 
 | |
| #if defined(__GNUG__) && !defined(__APPLE__)
 | |
|     #pragma interface "mmboard.cpp"
 | |
| #endif
 | |
| 
 | |
| // for compilers that support precompilation, includes "wx/wx.h"
 | |
| #include "wx/wxprec.h"
 | |
| 
 | |
| #ifdef __BORLANDC__
 | |
|     #pragma hdrstop
 | |
| #endif
 | |
| 
 | |
| // for all others, include the necessary headers
 | |
| #ifndef WX_PRECOMP
 | |
|     #include "wx/wx.h"
 | |
| #endif
 | |
| 
 | |
| // --------------------------------------------------------------------------
 | |
| // constants
 | |
| // --------------------------------------------------------------------------
 | |
| 
 | |
| #define MM_SOUND_OSS 0x01
 | |
| #define MM_SOUND_ESD 0x02
 | |
| #define MM_SOUND_WIN 0x04
 | |
| 
 | |
| // --------------------------------------------------------------------------
 | |
| // Class definitions
 | |
| // --------------------------------------------------------------------------
 | |
| 
 | |
| // Define a new application type, each program should derive a class from wxApp
 | |
| class MMBoardApp : public wxApp
 | |
| {
 | |
| public:
 | |
|   wxUint8 m_caps;
 | |
| 
 | |
|   // override base class virtuals
 | |
|   // ----------------------------
 | |
| 
 | |
|   virtual bool OnInit();
 | |
|   
 | |
|   wxUint8 TestMultimediaCaps();
 | |
| };
 | |
| 
 | |
| #endif
 |