updated to reflect changes in external APIs

This commit is contained in:
maroy 2005-01-10 12:49:48 +00:00
parent d58414c65e
commit a26dfdf7ba
2 changed files with 16 additions and 4 deletions

View File

@ -22,7 +22,7 @@
Author : $Author: maroy $
Version : $Revision: 1.3 $
Version : $Revision: 1.4 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/playlistExecutor/src/Attic/AudioPlayerFactoryTest.cxx,v $
------------------------------------------------------------------------------*/
@ -152,7 +152,7 @@ AudioPlayerFactoryTest :: simplePlayTest(void)
audioPlayerFactory = AudioPlayerFactory::getInstance();
audioPlayer = audioPlayerFactory->getAudioPlayer();
audioPlayer->playThis("file:var/test.mp3");
audioPlayer->open("file:var/test.mp3");
CPPUNIT_ASSERT(!audioPlayer->isPlaying());
audioPlayer->start();
CPPUNIT_ASSERT(audioPlayer->isPlaying());
@ -160,5 +160,6 @@ AudioPlayerFactoryTest :: simplePlayTest(void)
TimeConversion::sleep(sleepT);
}
CPPUNIT_ASSERT(!audioPlayer->isPlaying());
audioPlayer->close();
}

View File

@ -22,7 +22,7 @@
Author : $Author: maroy $
Version : $Revision: 1.1 $
Version : $Revision: 1.2 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/playlistExecutor/src/Attic/HelixEventHandlerThread.h,v $
------------------------------------------------------------------------------*/
@ -65,7 +65,7 @@ using namespace LiveSupport::Core;
* A thread that checks on Helix events every once in a while.
*
* @author $Author: maroy $
* @version $Revision: 1.1 $
* @version $Revision: 1.2 $
*/
class HelixEventHandlerThread : public virtual RunnableInterface
{
@ -121,6 +121,17 @@ class HelixEventHandlerThread : public virtual RunnableInterface
virtual void
run(void) throw ();
/**
* Send a signal to the runnable object.
* This function simply does nothing.
*
* @param userData user-specific parameter for the signal.
*/
virtual void
signal(int userData) throw ()
{
}
/**
* Signal the thread to stop, gracefully.
*/