Radium Engine  1.5.20
Loading...
Searching...
No Matches
FileLoaderInterface.hpp
1#pragma once
2
3#include <string>
4#include <vector>
5
6#include <Core/RaCore.hpp>
7
8namespace Ra {
9namespace Core {
10namespace Asset {
11class FileData;
12
13class FileLoaderInterface
14{
15 public:
16 virtual ~FileLoaderInterface() = default;
17
18 virtual std::vector<std::string> getFileExtensions() const = 0;
19
20 virtual bool handleFileExtension( const std::string& extension ) const = 0;
21
23 virtual FileData* loadFile( const std::string& filename ) = 0;
24
26 virtual std::string name() const = 0;
27};
28
29} // namespace Asset
30} // namespace Core
31} // namespace Ra
hepler function to manage enum as underlying types in VariableSet
Definition Cage.cpp:3