LeviLamina
Loading...
Searching...
No Matches
ContentManagerContext.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/screens/models/IContentManagerContext.h"
7#include "mc/platform/brstd/move_only_function.h"
8
9// auto generated forward declare list
10// clang-format off
11class ContentView;
12class IContentManager;
13struct ContentItem;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 64, ::std::function<bool(::std::shared_ptr<::ContentItem const>)>> mContextPredicate;
21 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::ContentView>>> mContentViews;
22 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::IContentManager>> mManager;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 ContentManagerContext();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ~ContentManagerContext() /*override*/;
33
34 virtual ::ContentView& getContentView(
35 ::brstd::move_only_function<bool(::std::shared_ptr<::ContentItem const> const&)> predicate
36 ) /*override*/;
37
38 virtual ::std::vector<::std::unique_ptr<::ContentView>> const& getContentViews() const /*override*/;
39
40 virtual void onLanguageChanged() /*override*/;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI ContentManagerContext(
47 ::std::weak_ptr<::IContentManager> manager,
48 ::std::function<bool(::std::shared_ptr<::ContentItem const> const&)> contextPredicate
49 );
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55 MCAPI void* $ctor(
56 ::std::weak_ptr<::IContentManager> manager,
57 ::std::function<bool(::std::shared_ptr<::ContentItem const> const&)> contextPredicate
58 );
59 // NOLINTEND
60
61public:
62 // destructor thunk
63 // NOLINTBEGIN
64 MCAPI void $dtor();
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCAPI ::ContentView&
71 $getContentView(::brstd::move_only_function<bool(::std::shared_ptr<::ContentItem const> const&)> predicate);
72
73 MCFOLD ::std::vector<::std::unique_ptr<::ContentView>> const& $getContentViews() const;
74
75 MCAPI void $onLanguageChanged();
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftable();
82 // NOLINTEND
83};
Definition ContentManagerContext.h:5
static MCAPI void ** $vftable()
Definition ContentView.h:5
Definition IContentManagerContext.h:5
Definition IContentManager.h:5
Definition ContentItem.h:5