summaryrefslogtreecommitdiff
path: root/src/lua/stubs/alerts.lua
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-01-05 17:15:47 +1100
committerjacqueline <me@jacqueline.id.au>2024-01-05 17:15:47 +1100
commite12a68a74d9527d4becde122da4ff1ad6550564e (patch)
tree1d987e513efe693bc48817acbc0e89d7db044828 /src/lua/stubs/alerts.lua
parentaa1dd3d522aa60c2e8ec31ccc49b3459b4f0f8e2 (diff)
downloadtangara-fw-e12a68a74d9527d4becde122da4ff1ad6550564e.tar.gz
split lua stubs into one set for ldoc, and one set for lua-ls
Diffstat (limited to 'src/lua/stubs/alerts.lua')
-rw-r--r--src/lua/stubs/alerts.lua13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/lua/stubs/alerts.lua b/src/lua/stubs/alerts.lua
deleted file mode 100644
index 9b541d84..00000000
--- a/src/lua/stubs/alerts.lua
+++ /dev/null
@@ -1,13 +0,0 @@
---- Module for interacting with playback volume. The Bluetooth and wired outputs store their current volume separately; this API only allows interacting with the volume of the currently used output device.
--- @module alerts
-
-local alerts = {}
-
---- Returns the current volume as a percentage of the current volume limit.
--- @tparam function constructor Called to create the UI for the alert. A new default root object and group will be set before calling this function.i Alerts are non-interactable; the group created for the constructor will not be granted focus.
-function alerts.show(constructor) end
-
---- Dismisses any visible alerts, removing them from the screen.
-function alerts.hide() end
-
-return alerts