added openForPlaying() and closeForPlaying() methods to Playlist class
This commit is contained in:
parent
d0645cb6ee
commit
88cb83e636
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: fgerlits $
|
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 $
|
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.
|
* the playlist.
|
||||||
*
|
*
|
||||||
* @author $Author: fgerlits $
|
* @author $Author: fgerlits $
|
||||||
* @version $Revision: 1.10 $
|
* @version $Revision: 1.11 $
|
||||||
*/
|
*/
|
||||||
class Playlist : public Configurable
|
class Playlist : public Configurable
|
||||||
{
|
{
|
||||||
|
@ -375,6 +375,20 @@ class Playlist : public Configurable
|
||||||
*/
|
*/
|
||||||
Ptr<xmlpp::Document>::Ref
|
Ptr<xmlpp::Document>::Ref
|
||||||
toSmil(void) const throw (std::logic_error);
|
toSmil(void) const throw (std::logic_error);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Open for playing.
|
||||||
|
*/
|
||||||
|
|
||||||
|
Ptr<std::string>::Ref
|
||||||
|
openForPlaying(void) const throw (std::logic_error);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Close after playing.
|
||||||
|
*/
|
||||||
|
|
||||||
|
void
|
||||||
|
closeForPlaying(void) const throw (std::logic_error);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: fgerlits $
|
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 $
|
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;
|
return smilDocument;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*------------------------------------------------------------------------------
|
||||||
|
* Open for playing.
|
||||||
|
*----------------------------------------------------------------------------*/
|
||||||
|
Ptr<std::string>::Ref
|
||||||
|
Playlist :: openForPlaying(void) const throw (std::logic_error)
|
||||||
|
{
|
||||||
|
Ptr<std::string>::Ref returnValue(new std::string("/tmp/somefile.xml"));
|
||||||
|
return returnValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*------------------------------------------------------------------------------
|
||||||
|
* Close after playing.
|
||||||
|
*----------------------------------------------------------------------------*/
|
||||||
|
void
|
||||||
|
Playlist :: closeForPlaying(void) const throw (std::logic_error)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue