diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-09-13 09:39:06 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-13 09:39:06 -0400 |
| commit | 9a0ea90018fffffc6bf5575f12178f61d2d01a3a (patch) | |
| tree | 5731e966de52365e1620b3e423d8dd1e7479f472 /src/core/core.h | |
| parent | ce5320c49f6e3c1dc52b9046213366dd0df1612f (diff) | |
| parent | 87c0ba129ce38dd3b001fbef8021590a127fb1a8 (diff) | |
Merge pull request #11473 from liamwhite/fix-launch-param
am: Implement UserChannel parameters
Diffstat (limited to 'src/core/core.h')
| -rw-r--r-- | src/core/core.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h index a9ff9315e..fba312125 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -4,6 +4,7 @@ #pragma once #include <cstddef> +#include <deque> #include <functional> #include <memory> #include <mutex> @@ -459,6 +460,12 @@ public: */ void ExecuteProgram(std::size_t program_index); + /** + * Gets a reference to the user channel stack. + * It is used to transfer data between programs. + */ + [[nodiscard]] std::deque<std::vector<u8>>& GetUserChannel(); + /// Type used for the frontend to designate a callback for System to exit the application. using ExitCallback = std::function<void()>; |
