part of #2165; still trying to make sure everything compiles

This commit is contained in:
fgerlits 2007-02-08 15:27:36 +00:00
parent 5efbf6a26f
commit 781827b505
4 changed files with 11 additions and 4 deletions

View File

@ -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;
};

View File

@ -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) {

View File

@ -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 ();
};

View File

@ -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;
}