#include <sdlmixer.h>
Inheritance diagram for Wt::SDLMixer::Music:
Public Member Functions | |
virtual int | type () const |
operator Mix_Music * () const | |
virtual | ~Music () |
Protected Member Functions | |
Music (Mix_Music *music_p) | |
Private Attributes | |
Mix_Music * | music_p |
Friends | |
class | SDLMixer |
Definition at line 142 of file sdlmixer.h.
Wt::SDLMixer::Music::Music | ( | Mix_Music * | music_p | ) | [protected] |
Wt::SDLMixer::Music::~Music | ( | ) | [virtual] |
Reimplemented from Wt::Audio::Music.
Definition at line 166 of file sdlmixer.cpp.
References music_p.
00166 { 00167 Mix_FreeMusic(music_p); 00168 }
Wt::SDLMixer::Music::operator Mix_Music * | ( | ) | const [inline] |
int Wt::SDLMixer::Music::type | ( | ) | const [virtual] |
Reimplemented from Wt::Audio::Music.
Definition at line 220 of file sdlmixer.cpp.
References music_p, and Wt::SDLMixer::musicTypeMap.
00220 { 00221 return musicTypeMap[Mix_GetMusicType(music_p)]; 00222 }
friend class SDLMixer [friend] |
Definition at line 143 of file sdlmixer.h.
Mix_Music* Wt::SDLMixer::Music::music_p [private] |
Definition at line 155 of file sdlmixer.h.
Referenced by operator Mix_Music *(), type(), and ~Music().
This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.