From 3f1fadbeef571a6653f5648c2b78073ddd37d169 Mon Sep 17 00:00:00 2001 From: Robin Howard Date: Sun, 21 Jan 2024 18:13:49 +1100 Subject: Plumb queue next+previous through to Lua, incl. with stubs and docs. --- src/ui/include/ui_fsm.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ui/include') 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 -- cgit v1.2.3