LeviLamina
Loading...
Searching...
No Matches
ContentView.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/platform/brstd/move_only_function.h"
8
9// auto generated forward declare list
10// clang-format off
11class IContentManager;
12struct ContentItem;
13// clang-format on
14
16public:
17 // ContentView inner types define
18 using ConstContentItemPtr = ::std::shared_ptr<::ContentItem const>;
19
20 using ContentItemPtr = ::std::shared_ptr<::ContentItem>;
21
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::IContentManager>> mContentManager;
26 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::ContentItem>>> mItems;
27 ::ll::TypedStorage<8, 64, ::brstd::move_only_function<bool(::std::shared_ptr<::ContentItem>)>> mPredicate;
28 ::ll::TypedStorage<8, 64, ::std::function<bool(::std::shared_ptr<::ContentItem>, ::std::shared_ptr<::ContentItem>)>>
29 mSortFunction;
30 ::ll::TypedStorage<8, 64, ::std::function<void()>> mOnReload;
31 ::ll::TypedStorage<8, 24, ::std::vector<::ContentView const*>> mContentViewSources;
32 // NOLINTEND
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual ~ContentView() /*override*/;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI void reload();
44
45 MCAPI void setSortFunc(
46 ::std::function<bool(::std::shared_ptr<::ContentItem> const&, ::std::shared_ptr<::ContentItem> const&)> sortFunc
47 );
48 // NOLINTEND
49
50public:
51 // destructor thunk
52 // NOLINTBEGIN
53 MCAPI void $dtor();
54 // NOLINTEND
55
56public:
57 // vftables
58 // NOLINTBEGIN
59 MCNAPI static void** $vftable();
60 // NOLINTEND
61};
Definition EnableNonOwnerReferences.h:7
Definition ContentView.h:5
static MCAPI void ** $vftable()
Definition IContentManager.h:5
Definition ContentItem.h:5