2004-02-01 18:27:25 +00: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 14:32:35 +00:00
|
|
|
// Licence: wxWindows licence
|
2004-02-01 18:27:25 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-10-28 13:21:29 +00:00
|
|
|
#ifndef _WX_WAVE_H_BASE_
|
|
|
|
#define _WX_WAVE_H_BASE_
|
|
|
|
|
2005-03-16 16:18:31 +00:00
|
|
|
#include "wx/defs.h"
|
2004-02-01 18:27:25 +00:00
|
|
|
|
2004-02-02 13:16:31 +00:00
|
|
|
#if wxUSE_SOUND
|
|
|
|
|
2004-02-01 18:27:25 +00:00
|
|
|
#if WXWIN_COMPATIBILITY_2_4
|
2004-02-17 10:06:26 +00:00
|
|
|
#if defined(__DMC__) || defined(__BORLANDC__)
|
2004-02-12 19:47:58 +00:00
|
|
|
#pragma message "wx/wave.h header is deprecated, use wx/sound.h and wxSound"
|
2004-02-18 16:21:27 +00:00
|
|
|
#elif defined(__WATCOMC__) || defined(__VISUALC__)
|
2004-02-17 10:06:26 +00:00
|
|
|
#pragma message ("wx/wave.h header is deprecated, use wx/sound.h and wxSound")
|
2004-02-12 19:47:58 +00:00
|
|
|
#else
|
2004-02-01 18:27:25 +00:00
|
|
|
#warning "wx/wave.h header is deprecated, use wx/sound.h and wxSound"
|
2004-02-12 19:47:58 +00:00
|
|
|
#endif
|
2004-02-01 18:27:25 +00:00
|
|
|
#include "wx/sound.h"
|
2004-05-23 14:56:36 +00:00
|
|
|
// wxSound used to be called wxWave before wxWidgets 2.5.1:
|
2004-02-02 13:16:31 +00:00
|
|
|
typedef wxSound wxWave;
|
2004-02-01 18:27:25 +00:00
|
|
|
#else
|
|
|
|
#error "wx/wave.h is only available in compatibility mode"
|
1998-10-28 13:21:29 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
2004-02-02 13:16:31 +00:00
|
|
|
|
|
|
|
#endif
|