summaryrefslogtreecommitdiffstats
path: root/src/core/core.h
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2023-09-10 02:36:26 +0200
committerLiam <byteslice@airmail.cc>2023-09-10 21:39:25 +0200
commit87c0ba129ce38dd3b001fbef8021590a127fb1a8 (patch)
tree28fa19ccd43fceeec31e433d32dae41e88d2b17e /src/core/core.h
parentam: Remove bcat from PopLaunchParameter (diff)
downloadyuzu-87c0ba129ce38dd3b001fbef8021590a127fb1a8.tar
yuzu-87c0ba129ce38dd3b001fbef8021590a127fb1a8.tar.gz
yuzu-87c0ba129ce38dd3b001fbef8021590a127fb1a8.tar.bz2
yuzu-87c0ba129ce38dd3b001fbef8021590a127fb1a8.tar.lz
yuzu-87c0ba129ce38dd3b001fbef8021590a127fb1a8.tar.xz
yuzu-87c0ba129ce38dd3b001fbef8021590a127fb1a8.tar.zst
yuzu-87c0ba129ce38dd3b001fbef8021590a127fb1a8.zip
Diffstat (limited to '')
-rw-r--r--src/core/core.h7
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()>;