LeviLamina
Loading...
Searching...
No Matches
ResourceHandlerBroker.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
8namespace Gameface { class IResourceHandler; }
9namespace cohtml { class IAsyncResourceHandler; }
10// clang-format on
11
12namespace Gameface {
13
15public:
16 // virtual functions
17 // NOLINTBEGIN
18 virtual ~ResourceHandlerBroker() = default;
19
20 virtual void update() = 0;
21
22 virtual void registerResourceHandler(
23 ::std::string const& protocol,
24 ::std::unique_ptr<::Gameface::IResourceHandler> resourceHandler
25 ) = 0;
26
27 virtual void unregisterResourceHandler(::std::string const& protocol) = 0;
28
29 virtual void onViewCreate(::IClientInstance& clientInstance) = 0;
30
31 virtual void onAppPreSuspend() = 0;
32
33 virtual ::cohtml::IAsyncResourceHandler* getCohtmlHandler() = 0;
34 // NOLINTEND
35
36public:
37 // virtual function thunks
38 // NOLINTBEGIN
39
40 // NOLINTEND
41
42public:
43 // vftables
44 // NOLINTBEGIN
45 MCNAPI static void** $vftable();
46 // NOLINTEND
47};
48
49} // namespace Gameface
Definition IResourceHandler.h:7
Definition ResourceHandlerBroker.h:7
static MCAPI void ** $vftable()
Definition IClientInstance.h:5
Definition IAsyncResourceHandler.h:7