summaryrefslogtreecommitdiff
path: root/src/ui/include
diff options
context:
space:
mode:
authorRobin Howard <robin@rhoward.id.au>2024-01-21 18:13:49 +1100
committerRobin Howard <buzzyrobin@noreply.codeberg.org>2024-01-23 02:30:18 +0000
commit3f1fadbeef571a6653f5648c2b78073ddd37d169 (patch)
tree823237ccbea7dedf5dd9cbb4a317d38b502631a3 /src/ui/include
parent9b63f14cb8d2978fa1293997b541fb2a935cb89e (diff)
downloadtangara-fw-3f1fadbeef571a6653f5648c2b78073ddd37d169.tar.gz
Plumb queue next+previous through to Lua, incl. with stubs and docs.
Diffstat (limited to 'src/ui/include')
-rw-r--r--src/ui/include/ui_fsm.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/include/ui_fsm.hpp b/src/ui/include/ui_fsm.hpp
index 9de1169b..3ddef738 100644
--- a/src/ui/include/ui_fsm.hpp
+++ b/src/ui/include/ui_fsm.hpp
@@ -164,6 +164,9 @@ class Lua : public UiState {
auto SetPlaying(const lua::LuaValue&) -> bool;
auto SetRandom(const lua::LuaValue&) -> bool;
auto SetRepeat(const lua::LuaValue&) -> bool;
+
+ auto QueueNext(lua_State*) -> int;
+ auto QueuePrevious(lua_State*) -> int;
};
} // namespace states