LeviLamina
Loading...
Searching...
No Matches
AppPlatformResourceLoadImpl.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/platform/Result.h"
7#include "mc/resources/IAppResourceLoadImpl.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace Core { class Path; }
12namespace Core { class PathView; }
13namespace mce { struct Image; }
14// clang-format on
15
16namespace AppResourceLoaderFactory {
17
18class AppPlatformResourceLoadImpl : public ::IAppResourceLoadImpl {
19public:
20 // member variables
21 // NOLINTBEGIN
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 AppPlatformResourceLoadImpl& operator=(AppPlatformResourceLoadImpl const&);
28 AppPlatformResourceLoadImpl(AppPlatformResourceLoadImpl const&);
29 AppPlatformResourceLoadImpl();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ::Core::Path getPath() const /*override*/;
35
36 virtual ::Bedrock::Result<::std::string> readAssetFile(::Core::PathView filename) const /*override*/;
37
38 virtual ::mce::Image loadTexture(::Core::Path const& fileName) const /*override*/;
39 // NOLINTEND
40
41public:
42 // virtual function thunks
43 // NOLINTBEGIN
44#ifdef LL_PLAT_C
45 MCNAPI ::Core::Path $getPath() const;
46
47 MCNAPI ::Bedrock::Result<::std::string> $readAssetFile(::Core::PathView filename) const;
48
49 MCNAPI ::mce::Image $loadTexture(::Core::Path const& fileName) const;
50#endif
51
52
53 // NOLINTEND
54
55public:
56 // vftables
57 // NOLINTBEGIN
58 MCNAPI static void** $vftable();
59 // NOLINTEND
60};
61
62} // namespace AppResourceLoaderFactory
Definition PathView.h:19
Definition Path.h:11
Definition IAppResourceLoadImpl.h:15
Definition Alias.h:14
Definition Image.h:13