part of #2165; still trying to make sure everything compiles
This commit is contained in:
parent
5efbf6a26f
commit
781827b505
|
@ -83,9 +83,11 @@ class AudioPlayerEventListener
|
|||
* Catch the event when playing has stopped.
|
||||
* This will happen probably due to the fact that the
|
||||
* audio clip has been played to its end.
|
||||
*
|
||||
* @param errorMessage is a 0 pointer if the player stopped normally
|
||||
*/
|
||||
virtual void
|
||||
onStop(void) throw () = 0;
|
||||
onStop(Ptr<const std::string>::Ref errorMessage) throw () = 0;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -622,7 +622,7 @@ GstreamerPlayerTest :: eventListenerOnStopTest(void)
|
|||
* Another, more realistic test of the event listener mechanism.
|
||||
*----------------------------------------------------------------------------*/
|
||||
void
|
||||
GstreamerPlayerTest :: onStop(void)
|
||||
GstreamerPlayerTest :: onStop(Ptr<const std::string>::Ref errorMessage)
|
||||
throw ()
|
||||
{
|
||||
if (!startNewClipFlag) {
|
||||
|
|
|
@ -244,9 +244,12 @@ class GstreamerPlayerTest : public CPPUNIT_NS::TestFixture,
|
|||
|
||||
/**
|
||||
* Event handler for the "player has stopped" event.
|
||||
*
|
||||
* @param errorMessage is a 0 pointer if the player stopped normally
|
||||
*/
|
||||
virtual void
|
||||
onStop(void) throw ();
|
||||
onStop(Ptr<const std::string>::Ref errorMessage)
|
||||
throw ();
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -92,9 +92,11 @@ class TestEventListener : public AudioPlayerEventListener
|
|||
* Catch the event when playing has stopped.
|
||||
* This will happen probably due to the fact that the
|
||||
* audio clip has been played to its end.
|
||||
*
|
||||
* @param errorMessage is a 0 pointer if the player stopped normally
|
||||
*/
|
||||
virtual void
|
||||
onStop(void) throw ()
|
||||
onStop(Ptr<const std::string>::Ref errorMessage) throw ()
|
||||
{
|
||||
stopFlag = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue