fixing #1697, step 2 of 2
This commit is contained in:
parent
939172830f
commit
a337906f94
12 changed files with 50 additions and 88 deletions
|
@ -439,6 +439,12 @@ class StorageClientInterface
|
||||||
throw (XmlRpcException)
|
throw (XmlRpcException)
|
||||||
= 0;
|
= 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The type for the list of playlists returned by the search method
|
||||||
|
*/
|
||||||
|
typedef std::vector<Ptr<Playable>::Ref>
|
||||||
|
SearchResultsType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the list of items found by the latest search.
|
* Return the list of items found by the latest search.
|
||||||
*
|
*
|
||||||
|
@ -446,7 +452,7 @@ class StorageClientInterface
|
||||||
*
|
*
|
||||||
* @return a vector of Playable objects.
|
* @return a vector of Playable objects.
|
||||||
*/
|
*/
|
||||||
virtual Ptr<std::vector<Ptr<Playable>::Ref> >::Ref
|
virtual Ptr<SearchResultsType>::Ref
|
||||||
getSearchResults(void) throw () = 0;
|
getSearchResults(void) throw () = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -250,7 +250,7 @@ TestStorageClient :: reset(void)
|
||||||
= nodes.begin();
|
= nodes.begin();
|
||||||
playlistMap.clear();
|
playlistMap.clear();
|
||||||
editedPlaylists.clear();
|
editedPlaylists.clear();
|
||||||
searchResults.reset(new std::vector<Ptr<Playable>::Ref>);
|
searchResults.reset(new SearchResultsType);
|
||||||
|
|
||||||
while (it != nodes.end()) {
|
while (it != nodes.end()) {
|
||||||
Ptr<Playlist>::Ref playlist(new Playlist);
|
Ptr<Playlist>::Ref playlist(new Playlist);
|
||||||
|
@ -801,7 +801,7 @@ TestStorageClient :: search(Ptr<SessionId>::Ref sessionId,
|
||||||
last = 0;
|
last = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
searchResults.reset(new std::vector<Ptr<Playable>::Ref>);
|
searchResults.reset(new SearchResultsType);
|
||||||
|
|
||||||
if (searchCriteria->type == "audioclip" || searchCriteria->type == "all") {
|
if (searchCriteria->type == "audioclip" || searchCriteria->type == "all") {
|
||||||
AudioClipMapType::const_iterator it = audioClipMap.begin();
|
AudioClipMapType::const_iterator it = audioClipMap.begin();
|
||||||
|
@ -974,7 +974,7 @@ TestStorageClient :: getAllPlaylists(Ptr<SessionId>::Ref sessionId,
|
||||||
Ptr<std::vector<Ptr<Playlist>::Ref> >::Ref playlists(
|
Ptr<std::vector<Ptr<Playlist>::Ref> >::Ref playlists(
|
||||||
new std::vector<Ptr<Playlist>::Ref>);
|
new std::vector<Ptr<Playlist>::Ref>);
|
||||||
|
|
||||||
std::vector<Ptr<Playable>::Ref>::const_iterator it;
|
SearchResultsType::const_iterator it;
|
||||||
for (it = searchResults->begin(); it != searchResults->end(); ++it) {
|
for (it = searchResults->begin(); it != searchResults->end(); ++it) {
|
||||||
Ptr<Playlist>::Ref playlist = (*it)->getPlaylist();
|
Ptr<Playlist>::Ref playlist = (*it)->getPlaylist();
|
||||||
if (playlist) {
|
if (playlist) {
|
||||||
|
@ -1004,7 +1004,7 @@ TestStorageClient :: getAllAudioClips(Ptr<SessionId>::Ref sessionId,
|
||||||
Ptr<std::vector<Ptr<AudioClip>::Ref> >::Ref audioClips(
|
Ptr<std::vector<Ptr<AudioClip>::Ref> >::Ref audioClips(
|
||||||
new std::vector<Ptr<AudioClip>::Ref>);
|
new std::vector<Ptr<AudioClip>::Ref>);
|
||||||
|
|
||||||
std::vector<Ptr<Playable>::Ref>::const_iterator it;
|
SearchResultsType::const_iterator it;
|
||||||
for (it = searchResults->begin(); it != searchResults->end(); ++it) {
|
for (it = searchResults->begin(); it != searchResults->end(); ++it) {
|
||||||
Ptr<AudioClip>::Ref audioClip = (*it)->getAudioClip();
|
Ptr<AudioClip>::Ref audioClip = (*it)->getAudioClip();
|
||||||
if (audioClip) {
|
if (audioClip) {
|
||||||
|
|
|
@ -160,7 +160,7 @@ class TestStorageClient :
|
||||||
/**
|
/**
|
||||||
* A vector containing the items returned by search() or by reset().
|
* A vector containing the items returned by search() or by reset().
|
||||||
*/
|
*/
|
||||||
Ptr<std::vector<Ptr<Playable>::Ref> >::Ref searchResults;
|
Ptr<SearchResultsType>::Ref searchResults;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Auxilliary method used by search().
|
* Auxilliary method used by search().
|
||||||
|
@ -568,7 +568,7 @@ class TestStorageClient :
|
||||||
*
|
*
|
||||||
* @return a vector of Playable objects.
|
* @return a vector of Playable objects.
|
||||||
*/
|
*/
|
||||||
virtual Ptr<std::vector<Ptr<Playable>::Ref> >::Ref
|
virtual Ptr<SearchResultsType>::Ref
|
||||||
getSearchResults(void) throw ()
|
getSearchResults(void) throw ()
|
||||||
{
|
{
|
||||||
return searchResults;
|
return searchResults;
|
||||||
|
|
|
@ -298,8 +298,10 @@ TestStorageClientTest :: acquireAudioClipTest(void)
|
||||||
CPPUNIT_FAIL(eMsg);
|
CPPUNIT_FAIL(eMsg);
|
||||||
}
|
}
|
||||||
string audioClipUri("file://");
|
string audioClipUri("file://");
|
||||||
audioClipUri += get_current_dir_name();
|
char * currentDirName = get_current_dir_name();
|
||||||
|
audioClipUri += currentDirName;
|
||||||
audioClipUri += "/var/test10002.mp3";
|
audioClipUri += "/var/test10002.mp3";
|
||||||
|
free(currentDirName);
|
||||||
CPPUNIT_ASSERT(*(audioClip->getUri()) == audioClipUri);
|
CPPUNIT_ASSERT(*(audioClip->getUri()) == audioClipUri);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -2142,7 +2142,7 @@ WebStorageClient :: extractSearchResults(const std::string & methodName,
|
||||||
|
|
||||||
XmlRpcValue resultArray = xmlRpcStruct[searchResultParamName];
|
XmlRpcValue resultArray = xmlRpcStruct[searchResultParamName];
|
||||||
|
|
||||||
searchResults.reset(new std::vector<Ptr<Playable>::Ref>);
|
searchResults.reset(new SearchResultsType);
|
||||||
Ptr<Playable>::Ref playable;
|
Ptr<Playable>::Ref playable;
|
||||||
|
|
||||||
for (int i=0; i < resultArray.size(); i++) {
|
for (int i=0; i < resultArray.size(); i++) {
|
||||||
|
@ -2330,7 +2330,7 @@ WebStorageClient :: getAllPlaylists(Ptr<SessionId>::Ref sessionId,
|
||||||
Ptr<std::vector<Ptr<Playlist>::Ref> >::Ref playlists(
|
Ptr<std::vector<Ptr<Playlist>::Ref> >::Ref playlists(
|
||||||
new std::vector<Ptr<Playlist>::Ref>);
|
new std::vector<Ptr<Playlist>::Ref>);
|
||||||
|
|
||||||
std::vector<Ptr<Playable>::Ref>::const_iterator it;
|
SearchResultsType::const_iterator it;
|
||||||
for (it = searchResults->begin(); it != searchResults->end(); ++it) {
|
for (it = searchResults->begin(); it != searchResults->end(); ++it) {
|
||||||
Ptr<Playlist>::Ref playlist = (*it)->getPlaylist();
|
Ptr<Playlist>::Ref playlist = (*it)->getPlaylist();
|
||||||
if (playlist) {
|
if (playlist) {
|
||||||
|
@ -2360,7 +2360,7 @@ WebStorageClient :: getAllAudioClips(Ptr<SessionId>::Ref sessionId,
|
||||||
Ptr<std::vector<Ptr<AudioClip>::Ref> >::Ref audioClips(
|
Ptr<std::vector<Ptr<AudioClip>::Ref> >::Ref audioClips(
|
||||||
new std::vector<Ptr<AudioClip>::Ref>);
|
new std::vector<Ptr<AudioClip>::Ref>);
|
||||||
|
|
||||||
std::vector<Ptr<Playable>::Ref>::const_iterator it;
|
SearchResultsType::const_iterator it;
|
||||||
for (it = searchResults->begin(); it != searchResults->end(); ++it) {
|
for (it = searchResults->begin(); it != searchResults->end(); ++it) {
|
||||||
Ptr<AudioClip>::Ref audioClip = (*it)->getAudioClip();
|
Ptr<AudioClip>::Ref audioClip = (*it)->getAudioClip();
|
||||||
if (audioClip) {
|
if (audioClip) {
|
||||||
|
|
|
@ -147,7 +147,7 @@ class WebStorageClient :
|
||||||
/**
|
/**
|
||||||
* A vector containing the items returned by search() or by reset().
|
* A vector containing the items returned by search() or by reset().
|
||||||
*/
|
*/
|
||||||
Ptr<std::vector<Ptr<Playable>::Ref> >::Ref searchResults;
|
Ptr<SearchResultsType>::Ref searchResults;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute an XML-RPC function call.
|
* Execute an XML-RPC function call.
|
||||||
|
@ -682,8 +682,8 @@ class WebStorageClient :
|
||||||
*
|
*
|
||||||
* @return a vector of Playable objects.
|
* @return a vector of Playable objects.
|
||||||
*/
|
*/
|
||||||
virtual Ptr<std::vector<Ptr<Playable>::Ref> >::Ref
|
virtual Ptr<SearchResultsType>::Ref
|
||||||
getSearchResults(void) throw ()
|
getSearchResults(void) throw ()
|
||||||
{
|
{
|
||||||
return searchResults;
|
return searchResults;
|
||||||
}
|
}
|
||||||
|
|
|
@ -906,8 +906,12 @@ WebStorageClientTest :: restoreBackupTest(void)
|
||||||
wsc->existsAudioClip(sessionId, oldAudioClipId)
|
wsc->existsAudioClip(sessionId, oldAudioClipId)
|
||||||
);
|
);
|
||||||
|
|
||||||
Ptr<Glib::ustring>::Ref path(new Glib::ustring(
|
Ptr<Glib::ustring>::Ref path(new Glib::ustring());
|
||||||
"var/cowbell_backup.tar"));
|
char * currentDirName = get_current_dir_name();
|
||||||
|
path->append(currentDirName);
|
||||||
|
path->append("var/cowbell_backup.tar");
|
||||||
|
free(currentDirName);
|
||||||
|
|
||||||
Ptr<Glib::ustring>::Ref token;
|
Ptr<Glib::ustring>::Ref token;
|
||||||
CPPUNIT_ASSERT_NO_THROW(
|
CPPUNIT_ASSERT_NO_THROW(
|
||||||
token = wsc->restoreBackupOpen(sessionId, path);
|
token = wsc->restoreBackupOpen(sessionId, path);
|
||||||
|
|
|
@ -1329,7 +1329,7 @@ GLiveSupport :: search(Ptr<SearchCriteria>::Ref criteria)
|
||||||
{
|
{
|
||||||
storage->search(sessionId, criteria);
|
storage->search(sessionId, criteria);
|
||||||
|
|
||||||
return readSearchResults();
|
return getSearchResults();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1338,35 +1338,9 @@ GLiveSupport :: search(Ptr<SearchCriteria>::Ref criteria)
|
||||||
*----------------------------------------------------------------------------*/
|
*----------------------------------------------------------------------------*/
|
||||||
Ptr<LiveSupport::GLiveSupport::GLiveSupport::PlayableList>::Ref
|
Ptr<LiveSupport::GLiveSupport::GLiveSupport::PlayableList>::Ref
|
||||||
LiveSupport :: GLiveSupport ::
|
LiveSupport :: GLiveSupport ::
|
||||||
GLiveSupport :: readSearchResults(void) throw (XmlRpcException)
|
GLiveSupport :: getSearchResults(void) throw (XmlRpcException)
|
||||||
{
|
{
|
||||||
Ptr<LiveSupport::GLiveSupport::GLiveSupport::PlayableList>::Ref
|
return storage->getSearchResults();
|
||||||
results(new PlayableList);
|
|
||||||
|
|
||||||
Ptr<std::vector<Ptr<UniqueId>::Ref> >::Ref audioClipIds = getAudioClipIds();
|
|
||||||
std::vector<Ptr<UniqueId>::Ref>::const_iterator it;
|
|
||||||
for (it = audioClipIds->begin(); it != audioClipIds->end(); ++it) {
|
|
||||||
try {
|
|
||||||
Ptr<AudioClip>::Ref audioClip = getAudioClip(*it);
|
|
||||||
results->push_back(audioClip);
|
|
||||||
} catch (XmlRpcInvalidDataException &e) {
|
|
||||||
std::cerr << "invalid audio clip in search(): " << e.what()
|
|
||||||
<< std::endl;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Ptr<std::vector<Ptr<UniqueId>::Ref> >::Ref playlistIds = getPlaylistIds();
|
|
||||||
for (it = playlistIds->begin(); it != playlistIds->end(); ++it) {
|
|
||||||
try {
|
|
||||||
Ptr<Playlist>::Ref playlist = getPlaylist(*it);
|
|
||||||
results->push_back(playlist);
|
|
||||||
} catch (XmlRpcInvalidDataException &e) {
|
|
||||||
std::cerr << "invalid playlist in search(): " << e.what()
|
|
||||||
<< std::endl;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return results;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -131,9 +131,9 @@ class GLiveSupport : public LocalizedConfigurable,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of the list of search results.
|
* The type of the list of search results.
|
||||||
* This is a list holding Ptr<Playable>::Ref references.
|
|
||||||
*/
|
*/
|
||||||
typedef std::list<Ptr<Playable>::Ref> PlayableList;
|
typedef StorageClientInterface::SearchResultsType
|
||||||
|
PlayableList;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A type for having a map of AudioClip objects, with using
|
* A type for having a map of AudioClip objects, with using
|
||||||
|
@ -582,18 +582,6 @@ class GLiveSupport : public LocalizedConfigurable,
|
||||||
storage->reset();
|
storage->reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Return the full range of audio clip ids in the storage.
|
|
||||||
* Mostly used for testing.
|
|
||||||
*
|
|
||||||
* @return a vector of UniqueId object references.
|
|
||||||
*/
|
|
||||||
Ptr<std::vector<Ptr<UniqueId>::Ref> >::Ref
|
|
||||||
getAudioClipIds(void) throw ()
|
|
||||||
{
|
|
||||||
return storage->getAudioClipIds();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tell if an audio clip specified by an id exists.
|
* Tell if an audio clip specified by an id exists.
|
||||||
*
|
*
|
||||||
|
@ -639,18 +627,6 @@ class GLiveSupport : public LocalizedConfigurable,
|
||||||
acquireAudioClip(Ptr<const UniqueId>::Ref id)
|
acquireAudioClip(Ptr<const UniqueId>::Ref id)
|
||||||
throw (XmlRpcException);
|
throw (XmlRpcException);
|
||||||
|
|
||||||
/**
|
|
||||||
* Return the full range of playlist ids in the storage.
|
|
||||||
* Mostly used for testing.
|
|
||||||
*
|
|
||||||
* @return a vector of UniqueId object references.
|
|
||||||
*/
|
|
||||||
Ptr<std::vector<Ptr<UniqueId>::Ref> >::Ref
|
|
||||||
getPlaylistIds(void) throw ()
|
|
||||||
{
|
|
||||||
return storage->getPlaylistIds();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tell if a playlist specified by an id exists.
|
* Tell if a playlist specified by an id exists.
|
||||||
*
|
*
|
||||||
|
@ -973,7 +949,7 @@ class GLiveSupport : public LocalizedConfigurable,
|
||||||
* getPlaylist().
|
* getPlaylist().
|
||||||
*/
|
*/
|
||||||
Ptr<PlayableList>::Ref
|
Ptr<PlayableList>::Ref
|
||||||
readSearchResults(void) throw (XmlRpcException);
|
getSearchResults(void) throw (XmlRpcException);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Browse in the local storage.
|
* Browse in the local storage.
|
||||||
|
|
|
@ -192,8 +192,8 @@ GLiveSupportTest :: openAudioClipTest(void)
|
||||||
Ptr<UniqueId>::Ref id;
|
Ptr<UniqueId>::Ref id;
|
||||||
Ptr<Playable>::Ref clip;
|
Ptr<Playable>::Ref clip;
|
||||||
|
|
||||||
CPPUNIT_ASSERT(gLiveSupport->getAudioClipIds()->size() >= 4);
|
CPPUNIT_ASSERT(gLiveSupport->getSearchResults()->size() >= 7);
|
||||||
id = gLiveSupport->getAudioClipIds()->at(3);
|
id = gLiveSupport->getSearchResults()->at(6)->getId();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
clip = gLiveSupport->getAudioClip(id);
|
clip = gLiveSupport->getAudioClip(id);
|
||||||
|
@ -226,8 +226,8 @@ GLiveSupportTest :: acquireAudioClipTest(void)
|
||||||
Ptr<UniqueId>::Ref id;
|
Ptr<UniqueId>::Ref id;
|
||||||
Ptr<Playable>::Ref clip;
|
Ptr<Playable>::Ref clip;
|
||||||
|
|
||||||
CPPUNIT_ASSERT(gLiveSupport->getAudioClipIds()->size() >= 4);
|
CPPUNIT_ASSERT(gLiveSupport->getSearchResults()->size() >= 7);
|
||||||
id = gLiveSupport->getAudioClipIds()->at(3);
|
id = gLiveSupport->getSearchResults()->at(6)->getId();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
clip = gLiveSupport->acquireAudioClip(id);
|
clip = gLiveSupport->acquireAudioClip(id);
|
||||||
|
@ -263,8 +263,8 @@ GLiveSupportTest :: openPlaylistTest(void)
|
||||||
Ptr<UniqueId>::Ref id;
|
Ptr<UniqueId>::Ref id;
|
||||||
Ptr<Playable>::Ref playlist;
|
Ptr<Playable>::Ref playlist;
|
||||||
|
|
||||||
CPPUNIT_ASSERT(gLiveSupport->getPlaylistIds()->size() >= 2);
|
CPPUNIT_ASSERT(gLiveSupport->getSearchResults()->size() >= 2);
|
||||||
id = gLiveSupport->getPlaylistIds()->at(1);
|
id = gLiveSupport->getSearchResults()->at(1)->getId();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
playlist = gLiveSupport->getPlaylist(id);
|
playlist = gLiveSupport->getPlaylist(id);
|
||||||
|
@ -297,8 +297,8 @@ GLiveSupportTest :: acquirePlaylistTest(void)
|
||||||
Ptr<UniqueId>::Ref id;
|
Ptr<UniqueId>::Ref id;
|
||||||
Ptr<Playable>::Ref playlist;
|
Ptr<Playable>::Ref playlist;
|
||||||
|
|
||||||
CPPUNIT_ASSERT(gLiveSupport->getPlaylistIds()->size() >= 2);
|
CPPUNIT_ASSERT(gLiveSupport->getSearchResults()->size() >= 2);
|
||||||
id = gLiveSupport->getPlaylistIds()->at(1);
|
id = gLiveSupport->getSearchResults()->at(1)->getId();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
playlist = gLiveSupport->acquirePlaylist(id);
|
playlist = gLiveSupport->acquirePlaylist(id);
|
||||||
|
|
|
@ -446,7 +446,7 @@ void
|
||||||
SearchWindow :: localSearch(Ptr<SearchCriteria>::Ref criteria)
|
SearchWindow :: localSearch(Ptr<SearchCriteria>::Ref criteria)
|
||||||
throw ()
|
throw ()
|
||||||
{
|
{
|
||||||
Ptr<std::list<Ptr<Playable>::Ref> >::Ref searchResults;
|
Ptr<GLiveSupport::PlayableList>::Ref searchResults;
|
||||||
try {
|
try {
|
||||||
searchResults = gLiveSupport->search(criteria);
|
searchResults = gLiveSupport->search(criteria);
|
||||||
} catch (XmlRpcException &e) {
|
} catch (XmlRpcException &e) {
|
||||||
|
@ -463,8 +463,8 @@ SearchWindow :: localSearch(Ptr<SearchCriteria>::Ref criteria)
|
||||||
*----------------------------------------------------------------------------*/
|
*----------------------------------------------------------------------------*/
|
||||||
void
|
void
|
||||||
SearchWindow :: displaySearchResults(
|
SearchWindow :: displaySearchResults(
|
||||||
Ptr<std::list<Ptr<Playable>::Ref> >::Ref searchResults,
|
Ptr<GLiveSupport::PlayableList>::Ref searchResults,
|
||||||
Glib::RefPtr<Gtk::ListStore> treeModel)
|
Glib::RefPtr<Gtk::ListStore> treeModel)
|
||||||
throw ()
|
throw ()
|
||||||
{
|
{
|
||||||
treeModel->clear();
|
treeModel->clear();
|
||||||
|
@ -472,7 +472,7 @@ SearchWindow :: displaySearchResults(
|
||||||
|
|
||||||
Ptr<WidgetFactory>::Ref widgetFactory = WidgetFactory::getInstance();
|
Ptr<WidgetFactory>::Ref widgetFactory = WidgetFactory::getInstance();
|
||||||
|
|
||||||
std::list<Ptr<Playable>::Ref>::const_iterator it;
|
GLiveSupport::PlayableList::const_iterator it;
|
||||||
|
|
||||||
for (it = searchResults->begin(); it != searchResults->end(); ++it) {
|
for (it = searchResults->begin(); it != searchResults->end(); ++it) {
|
||||||
Ptr<Playable>::Ref playable = *it;
|
Ptr<Playable>::Ref playable = *it;
|
||||||
|
@ -569,7 +569,7 @@ SearchWindow :: remoteSearchClose(void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Ptr<std::list<Ptr<Playable>::Ref> >::Ref results;
|
Ptr<GLiveSupport::PlayableList>::Ref results;
|
||||||
|
|
||||||
switch (state) {
|
switch (state) {
|
||||||
case StorageClientInterface::initState :
|
case StorageClientInterface::initState :
|
||||||
|
@ -590,7 +590,7 @@ SearchWindow :: remoteSearchClose(void)
|
||||||
remoteSearchToken.reset();
|
remoteSearchToken.reset();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
results = gLiveSupport->readSearchResults();
|
results = gLiveSupport->getSearchResults();
|
||||||
} catch (XmlRpcException &e) {
|
} catch (XmlRpcException &e) {
|
||||||
gLiveSupport->displayMessageWindow(formatMessage(
|
gLiveSupport->displayMessageWindow(formatMessage(
|
||||||
"remoteSearchErrorMsg",
|
"remoteSearchErrorMsg",
|
||||||
|
|
|
@ -256,8 +256,8 @@ class SearchWindow : public GuiWindow
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
displaySearchResults(
|
displaySearchResults(
|
||||||
Ptr<std::list<Ptr<Playable>::Ref> >::Ref searchResults,
|
Ptr<GLiveSupport::PlayableList>::Ref searchResults,
|
||||||
Glib::RefPtr<Gtk::ListStore> treeModel)
|
Glib::RefPtr<Gtk::ListStore> treeModel)
|
||||||
throw ();
|
throw ();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue