diff --git a/livesupport/modules/core/include/LiveSupport/Core/Playlist.h b/livesupport/modules/core/include/LiveSupport/Core/Playlist.h index 9de29d1a7..98527b215 100644 --- a/livesupport/modules/core/include/LiveSupport/Core/Playlist.h +++ b/livesupport/modules/core/include/LiveSupport/Core/Playlist.h @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.10 $ + Version : $Revision: 1.11 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/core/include/LiveSupport/Core/Playlist.h,v $ ------------------------------------------------------------------------------*/ @@ -71,7 +71,7 @@ using namespace boost::posix_time; * the playlist. * * @author $Author: fgerlits $ - * @version $Revision: 1.10 $ + * @version $Revision: 1.11 $ */ class Playlist : public Configurable { @@ -375,6 +375,20 @@ class Playlist : public Configurable */ Ptr::Ref toSmil(void) const throw (std::logic_error); + + /** + * Open for playing. + */ + + Ptr::Ref + openForPlaying(void) const throw (std::logic_error); + + /** + * Close after playing. + */ + + void + closeForPlaying(void) const throw (std::logic_error); }; diff --git a/livesupport/modules/core/src/Playlist.cxx b/livesupport/modules/core/src/Playlist.cxx index 7cfb9a2ce..39fcf094d 100644 --- a/livesupport/modules/core/src/Playlist.cxx +++ b/livesupport/modules/core/src/Playlist.cxx @@ -22,7 +22,7 @@ Author : $Author: fgerlits $ - Version : $Revision: 1.9 $ + Version : $Revision: 1.10 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/core/src/Playlist.cxx,v $ ------------------------------------------------------------------------------*/ @@ -405,3 +405,24 @@ Playlist::toSmil(void) const throw (std::logic_error) return smilDocument; } + + +/*------------------------------------------------------------------------------ + * Open for playing. + *----------------------------------------------------------------------------*/ +Ptr::Ref +Playlist :: openForPlaying(void) const throw (std::logic_error) +{ + Ptr::Ref returnValue(new std::string("/tmp/somefile.xml")); + return returnValue; +} + + +/*------------------------------------------------------------------------------ + * Close after playing. + *----------------------------------------------------------------------------*/ +void +Playlist :: closeForPlaying(void) const throw (std::logic_error) +{ +} +