RioEngine  0.1
My first attempt to create a 3D WYSIWYG Game Engine
ik_ISoundStopEventReceiver.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2014 Nikolaus Gebhardt
2 // This file is part of the "irrKlang" library.
3 // For conditions of distribution and use, see copyright notice in irrKlang.h
4 
5 #ifndef __I_IRRKLANG_SOUND_STOP_EVENT_RECEIVER_H_INCLUDED__
6 #define __I_IRRKLANG_SOUND_STOP_EVENT_RECEIVER_H_INCLUDED__
7 
8 #include "ik_IRefCounted.h"
10 
11 
12 namespace irrklang
13 {
14 
15 
18 {
21 
24 
28 
31  ESEC_FORCE_32_BIT = 0x7fffffff
32 };
33 
34 
36 
42 {
43 public:
44 
47 
49 
63  virtual void OnSoundStopped(ISound* sound, E_STOP_EVENT_CAUSE reason, void* userData) = 0;
64 
65 };
66 
67 
68 } // end namespace irrklang
69 
70 
71 #endif
72 
E_STOP_EVENT_CAUSE
An enumeration listing all reasons for a fired sound stop event.
Interface to be implemented by the user, which recieves sound stop events.
virtual void OnSoundStopped(ISound *sound, E_STOP_EVENT_CAUSE reason, void *userData)=0
Called when a sound has stopped playing.
The sound stop event was fired because the sound was stopped by the user, calling ISound::stop()...
Represents a sound which is currently played.
Definition: ik_ISound.h:24
Everything in the irrKlang Sound Engine can be found in this namespace.
The sound stop event was fired because the sound finished playing.