added 'void deletePlaylist(xmlRpcValue playlistId)' to

StorageClientInterface, and provided dummy implementation
in TestStorageClient
This commit is contained in:
fgerlits 2004-10-04 08:56:30 +00:00
parent 4b07803e0c
commit f0abe66287
3 changed files with 50 additions and 10 deletions

View file

@ -21,8 +21,8 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Author : $Author: maroy $
Version : $Revision: 1.1 $
Author : $Author: fgerlits $
Version : $Revision: 1.2 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/core/include/LiveSupport/Core/Attic/StorageClientInterface.h,v $
------------------------------------------------------------------------------*/
@ -60,8 +60,8 @@ namespace Core {
/**
* An interface for storage clients.
*
* @author $Author: maroy $
* @version $Revision: 1.1 $
* @author $Author: fgerlits $
* @version $Revision: 1.2 $
*/
class StorageClientInterface
{
@ -89,6 +89,18 @@ class StorageClientInterface
getPlaylist(Ptr<const UniqueId>::Ref id) const
throw (std::invalid_argument)
= 0;
/**
* Delete a playlist with the specified id.
*
* @param id the id of the playlist to be deleted.
* @exception std::invalid_argument if no playlist with the specified
* id exists.
*/
virtual void
deletePlaylist(Ptr<const UniqueId>::Ref id)
throw (std::invalid_argument)
= 0;
};