sources.push_back(&s);
}
+IO::Seekable *Collection::open_from_sources(const string &name)
+{
+ for(SourceList::const_iterator i=sources.begin(); i!=sources.end(); ++i)
+ if(IO::Seekable *io = (*i)->open(name))
+ return io;
+
+ return 0;
+}
+
void Collection::gather_names_from_sources(list<string> &names, const CollectionItemTypeBase &type) const
{
for(SourceList::const_iterator i=sources.begin(); i!=sources.end(); ++i)