From a0843fbb7d42078aec9e058d4795f0fff398d0b6 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Thu, 27 Aug 2015 20:34:54 +0300 Subject: [PATCH] Add mixer to main SDL2pp include file --- SDL2pp/SDL2pp.hh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/SDL2pp/SDL2pp.hh b/SDL2pp/SDL2pp.hh index 833477a..836c44c 100644 --- a/SDL2pp/SDL2pp.hh +++ b/SDL2pp/SDL2pp.hh @@ -116,4 +116,14 @@ # include #endif +//////////////////////////////////////////////////////////// +/// \defgroup mixer SDL_mixer +/// +/// \brief Functions that are specific to SDL_mixer library +/// +//////////////////////////////////////////////////////////// +#ifdef SDL2PP_WITH_MIXER +# include +#endif + #endif