#include <list>
#include <string>
#include <msp/io/seekable.h>
+#include "mspdatafile_api.h"
namespace Msp {
namespace DataFile {
Provides automatically loadable objects for collections. This is a base class;
see DirectorySource and PackSource for concrete classes.
*/
-class CollectionSource
+class MSPDATAFILE_API CollectionSource
{
public:
typedef std::list<std::string> NameList;
protected:
- CollectionSource() { }
+ CollectionSource() = default;
public:
- virtual ~CollectionSource() { }
+ virtual ~CollectionSource() = default;
/// Determines whether an object is available from this source.
virtual bool is_loadable(const CollectionItemTypeBase &type, const std::string &name) const = 0;