summaryrefslogtreecommitdiff
path: root/plug.h
diff options
context:
space:
mode:
authoryuzu-eva <cafebabe@disroot.org>2025-04-23 11:21:04 +0200
committeryuzu-eva <cafebabe@disroot.org>2025-04-23 11:21:04 +0200
commita029d434b3f67c37bb4663be8e9b4d6623a32955 (patch)
tree44872c7797ff3b2b27a53ead3f9ca4ce80b5b30c /plug.h
parent083dc7097143385e55ca14372194da7e05fb8c19 (diff)
restructure project
Diffstat (limited to 'plug.h')
-rw-r--r--plug.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/plug.h b/plug.h
new file mode 100644
index 0000000..2a9dcea
--- /dev/null
+++ b/plug.h
@@ -0,0 +1,20 @@
+#ifndef PLUG_H_
+#define PLUG_H_
+
+void PauseMusic(void);
+void RaiseVolume(void);
+void LowerVolume(void);
+void PrepareMusicStream(void);
+void StartMusicStream(void);
+
+#define LIST_OF_PLUGS \
+ PLUG(plug_init, void, void) \
+ PLUG(plug_pre_reload, void*, void) \
+ PLUG(plug_post_reload, void, void*) \
+ PLUG(plug_update, void, void)
+
+#define PLUG(name, ret, ...) typedef ret (name##_t)(__VA_ARGS__);
+LIST_OF_PLUGS
+#undef PLUG
+
+#endif // PLUG_H_