LeviLamina
Loading...
Searching...
No Matches
StorageAreaState.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Core { class FileStorageArea; }
8namespace Core { class StorageAreaStateListener; }
9// clang-format on
10
11namespace Core {
12
13class StorageAreaState {
14public:
15 // member variables
16 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 StorageAreaState& operator=(StorageAreaState const&);
29 StorageAreaState(StorageAreaState const&);
30 StorageAreaState();
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCNAPI_C void _fireExtendDiskSpaceEvent(
36 bool bSet,
37 ::std::weak_ptr<::Core::FileStorageArea> const& fileStorageAreaWeakPtr,
38 uint64 freeSpace,
39 ::std::function<void()> onHandledEventCallback
40 );
41
42 MCNAPI void checkUserStorage(
43 ::std::shared_ptr<::Core::FileStorageArea> const& fileStorageArea,
44 uint64 freeSpace,
45 uint64 usedSpace,
46 uint64 totalCapacity,
47 bool canExtendSize
48 );
49
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56 MCNAPI void $dtor();
57 // NOLINTEND
58};
59
60} // namespace Core
Definition FileStorageArea.h:26
Definition StorageAreaStateListener.h:16
MCAPI void checkUserStorage(::std::shared_ptr<::Core::FileStorageArea > const &fileStorageArea, uint64 freeSpace, uint64 usedSpace, uint64 totalCapacity, bool canExtendSize)
Definition Alias.h:14