2004-02-01 13:27:25 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/wave.h
|
|
|
|
// Purpose: wxSound compatibility header
|
|
|
|
// Author: Vaclav Slavik
|
|
|
|
// Modified by:
|
|
|
|
// Created: 2004/02/01
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) 2004, Vaclav Slavik
|
2004-09-24 10:32:35 -04:00
|
|
|
// Licence: wxWindows licence
|
2004-02-01 13:27:25 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-10-28 08:21:29 -05:00
|
|
|
#ifndef _WX_WAVE_H_BASE_
|
|
|
|
#define _WX_WAVE_H_BASE_
|
|
|
|
|
2005-03-16 11:18:31 -05:00
|
|
|
#include "wx/defs.h"
|
2004-02-01 13:27:25 -05:00
|
|
|
|
2004-02-02 08:16:31 -05:00
|
|
|
#if wxUSE_SOUND
|
|
|
|
|
2004-02-01 13:27:25 -05:00
|
|
|
#if WXWIN_COMPATIBILITY_2_4
|
2004-02-17 05:06:26 -05:00
|
|
|
#if defined(__DMC__) || defined(__BORLANDC__)
|
2004-02-12 14:47:58 -05:00
|
|
|
#pragma message "wx/wave.h header is deprecated, use wx/sound.h and wxSound"
|
2004-02-18 11:21:27 -05:00
|
|
|
#elif defined(__WATCOMC__) || defined(__VISUALC__)
|
2004-02-17 05:06:26 -05:00
|
|
|
#pragma message ("wx/wave.h header is deprecated, use wx/sound.h and wxSound")
|
2004-02-12 14:47:58 -05:00
|
|
|
#else
|
2004-02-01 13:27:25 -05:00
|
|
|
#warning "wx/wave.h header is deprecated, use wx/sound.h and wxSound"
|
2004-02-12 14:47:58 -05:00
|
|
|
#endif
|
2004-02-01 13:27:25 -05:00
|
|
|
#include "wx/sound.h"
|
2004-05-23 10:56:36 -04:00
|
|
|
// wxSound used to be called wxWave before wxWidgets 2.5.1:
|
2004-02-02 08:16:31 -05:00
|
|
|
typedef wxSound wxWave;
|
2004-02-01 13:27:25 -05:00
|
|
|
#else
|
|
|
|
#error "wx/wave.h is only available in compatibility mode"
|
1998-10-28 08:21:29 -05:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
2004-02-02 08:16:31 -05:00
|
|
|
|
|
|
|
#endif
|