LeviLamina
Loading...
Searching...
No Matches
CoroutineTaskContext.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace Editor::Coroutine {
6
7class CoroutineTaskContext {
8public:
9 // member variables
10 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 CoroutineTaskContext& operator=(CoroutineTaskContext const&);
29 CoroutineTaskContext(CoroutineTaskContext const&);
30 CoroutineTaskContext();
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCNAPI void completeProgress(::std::string message);
36
37 MCNAPI void setActivity(::std::string activity);
38
39 MCNAPI bool shouldYield() const;
40
41 MCNAPI void updateProgress(float progress, ::std::string message);
42 // NOLINTEND
43};
44
45} // namespace Editor::Coroutine
MCAPI void completeProgress(::std::string message)
MCAPI void updateProgress(float progress, ::std::string message)
MCAPI void setActivity(::std::string activity)
Definition Alias.h:14