2013-09-29 09:11:57 +02:00
|
|
|
#ifndef CONTENTLOADER_HPP
|
|
|
|
#define CONTENTLOADER_HPP
|
|
|
|
|
|
|
|
#include <boost/filesystem/path.hpp>
|
|
|
|
|
2021-11-23 15:15:22 +01:00
|
|
|
namespace Loading
|
|
|
|
{
|
|
|
|
class Listener;
|
|
|
|
}
|
2013-09-29 09:11:57 +02:00
|
|
|
|
|
|
|
namespace MWWorld
|
|
|
|
{
|
|
|
|
|
|
|
|
struct ContentLoader
|
|
|
|
{
|
2021-11-23 15:15:22 +01:00
|
|
|
virtual ~ContentLoader() = default;
|
2013-09-29 09:11:57 +02:00
|
|
|
|
2021-11-23 15:15:22 +01:00
|
|
|
virtual void load(const boost::filesystem::path& filepath, int& index, Loading::Listener* listener) = 0;
|
2013-09-29 09:11:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
} /* namespace MWWorld */
|
|
|
|
|
|
|
|
#endif /* CONTENTLOADER_HPP */
|