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. --- ldoc-stubs/queue.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ldoc-stubs/queue.lua') diff --git a/ldoc-stubs/queue.lua b/ldoc-stubs/queue.lua index 83849624..2d6a2a29 100644 --- a/ldoc-stubs/queue.lua +++ b/ldoc-stubs/queue.lua @@ -19,4 +19,10 @@ queue.replay = types.Property -- @see types.Property queue.random = types.Property +--- Moves forward in the play queue, looping back around to the beginning if repeat is on. +function queue.next() end + +--- Moves backward in the play queue, looping back around to the end if repeat is on. +function queue.previous() end + return queue -- cgit v1.2.3