summaryrefslogtreecommitdiff
path: root/luals-stubs
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 /luals-stubs
parent9b63f14cb8d2978fa1293997b541fb2a935cb89e (diff)
downloadtangara-fw-3f1fadbeef571a6653f5648c2b78073ddd37d169.tar.gz
Plumb queue next+previous through to Lua, incl. with stubs and docs.
Diffstat (limited to 'luals-stubs')
-rw-r--r--luals-stubs/queue.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/luals-stubs/queue.lua b/luals-stubs/queue.lua
index 0c63b8c1..ece99c69 100644
--- a/luals-stubs/queue.lua
+++ b/luals-stubs/queue.lua
@@ -8,4 +8,7 @@
--- @field random Property Determines whether, when progressing to the next track in the queue, the next track will be chosen randomly. The random selection algorithm used is a Miller Shuffle, which guarantees that no repeat selections will be made until every item in the queue has been played. Writeable.
local queue = {}
+function queue.next() end
+function queue.previous() end
+
return queue