mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-04 02:41:19 +00:00
24 lines
393 B
C++
24 lines
393 B
C++
#ifndef CONTENTLOADER_HPP
|
|
#define CONTENTLOADER_HPP
|
|
|
|
#include <filesystem>
|
|
|
|
namespace Loading
|
|
{
|
|
class Listener;
|
|
}
|
|
|
|
namespace MWWorld
|
|
{
|
|
|
|
struct ContentLoader
|
|
{
|
|
virtual ~ContentLoader() = default;
|
|
|
|
virtual void load(const std::filesystem::path& filepath, int& index, Loading::Listener* listener) = 0;
|
|
};
|
|
|
|
} /* namespace MWWorld */
|
|
|
|
#endif /* CONTENTLOADER_HPP */
|