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 // virtual functions
27 // NOLINTBEGIN
28 virtual ~ContentManagerContext() /*override*/ = default;
29
30 virtual ::ContentView& getContentView(
31 ::brstd::move_only_function<bool(::std::shared_ptr<::ContentItem const> const&)> predicate
32 ) /*override*/;
33
34 virtual ::std::vector<::std::unique_ptr<::ContentView>> const& getContentViews() const /*override*/;
35
36 virtual void onLanguageChanged() /*override*/;
37 // NOLINTEND
38
39public:
40 // virtual function thunks
41 // NOLINTBEGIN
42 MCAPI ::ContentView&
43 $getContentView(::brstd::move_only_function<bool(::std::shared_ptr<::ContentItem const> const&)> predicate);
44
45 MCFOLD ::std::vector<::std::unique_ptr<::ContentView>> const& $getContentViews() const;
46
47 MCAPI void $onLanguageChanged();
48 // NOLINTEND
49};
Definition ContentManagerContext.h:5
Definition ContentView.h:5
Definition IContentManagerContext.h:5
Definition IContentManager.h:5
Definition ContentItem.h:5