17class StorageAreaState {
32 StorageAreaState& operator=(StorageAreaState
const&);
33 StorageAreaState(StorageAreaState
const&);
42 MCNAPI
void _clearCriticalDiskError();
44 MCNAPI
void _clearLowDiskSpaceWarning();
46 MCNAPI
void _clearOutOfSpaceError();
48 MCNAPI
void _fireExtendDiskSpaceEvent(
50 ::std::weak_ptr<::Core::FileStorageArea>
const& fileStorageAreaWeakPtr,
52 ::std::function<
void()> onHandledEventCallback
55 MCNAPI
void _notifyLowDiskSpaceWarning();
57 MCNAPI
void _notifyOutOfDiskSpaceError();
63 ::std::shared_ptr<::Core::FileStorageArea>
const& fileStorageArea,
73 MCNAPI
bool isLowDiskSpaceWarning()
const;
MCAPI void checkUserStorage(::std::shared_ptr<::Core::FileStorageArea > const &fileStorageArea, uint64 freeSpace, uint64 usedSpace, uint64 totalCapacity, bool canExtendSize)