added (so far mostly empty) WebStorageClient

This commit is contained in:
fgerlits 2004-11-16 15:21:16 +00:00
parent 46d249a1a1
commit 6fb2c1b578
8 changed files with 1463 additions and 8 deletions

View file

@ -22,7 +22,7 @@
Author : $Author: fgerlits $
Version : $Revision: 1.13 $
Version : $Revision: 1.14 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storage/src/TestStorageClient.h,v $
------------------------------------------------------------------------------*/
@ -67,7 +67,7 @@ using namespace LiveSupport::Core;
* A dummy storage client, only used for test purposes.
*
* @author $Author: fgerlits $
* @version $Revision: 1.13 $
* @version $Revision: 1.14 $
*/
class TestStorageClient :
virtual public Configurable,
@ -168,8 +168,10 @@ class TestStorageClient :
/**
* Acquire the resources for the playlist.
*
* Produces absolute paths prefixed by "file://"; e.g.,
* "file:///some/dir/test1.mp3" and "file:///tmp/tempfileXXXX.smil".
* The Playlist returned has a uri field (read using getUri())
* which points to a playable SMIL file. This URI is a random string
* appended to the temp storage path read from the configuration file,
* plus a ".smil" extension.
*
* @param id the id of the playlist to acquire.
* @return a new Playlist instance containing a uri field which
@ -247,6 +249,8 @@ class TestStorageClient :
/**
* Acquire the resources for the audio clip with the specified id.
*
* Returns an AudioClip instance with a valid uri field, which points
* to the binary sound file.
* Assumes URIs in the config file are relative paths prefixed by
* "file:"; e.g., "file:var/test1.mp3".
*