#include <msp/core/attributes.h>
#include <msp/core/maputils.h>
+#include <msp/core/noncopyable.h>
#include <msp/core/refptr.h>
#include "collectionsource.h"
#include "loader.h"
between the collections, and are only deleted when all collections in the chain
have been destroyed.
*/
-class Collection
+class Collection: private NonCopyable
{
public:
/**
SourceList sources;
Collection *fallback;
- Collection(const Collection &);
- Collection &operator=(const Collection &);
public:
Collection();
virtual ~Collection();
object when done with it. */
IO::Seekable *open_raw(const std::string &) const;
-protected:
- // Deprecated. Use open_raw instead.
- DEPRECATED IO::Seekable *open_from_sources(const std::string &n) { return open_raw(n); }
-
private:
void gather_names_from_sources(std::list<std::string> &, const CollectionItemTypeBase &) const;