Toggle navigation
ivorium
iv_components
Example project
GitHub
Main Page
Modules
Classes
Files
File List
File Members
ivorium_game
Misc
PlatformDefault_ResourceProvider.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
AndroidAssetResourceProvider.hpp
"
4
#include <
ivorium_systems/ivorium_systems.hpp
>
5
6
namespace
iv
7
{
8
9
10
class
PlatformDefault_ResourceProvider
11
{
12
public
:
13
ClientMarker
cm
;
14
15
PlatformDefault_ResourceProvider
(
Instance
* inst,
size_t
priority );
16
Instance
*
instance
()
const
;
17
18
private
:
19
#if IV_FSPLATFORM_XDG || IV_FSPLATFORM_WIN || IV_FSPLATFORM_EMSCRIPTEN
20
FSResourceProvider
provider;
21
#elif IV_FSPLATFORM_ANDROID
22
AndroidAssetResourceProvider
provider;
23
#else
24
#error "Unimplemented FS Platform."
25
#endif
26
};
27
28
}