diff options
| author | yuzu-eva <cafebabe@disroot.org> | 2025-06-08 19:10:30 +0200 |
|---|---|---|
| committer | yuzu-eva <cafebabe@disroot.org> | 2025-06-08 19:10:30 +0200 |
| commit | 3438bb45053b30c69eb96fc2476f7d7ba4189906 (patch) | |
| tree | a9861498c0775805416418efc8e1b66cc7b7673a /src/plug.h | |
| parent | a029d434b3f67c37bb4663be8e9b4d6623a32955 (diff) | |
rearranged project structure and adjusted Makefiles
Diffstat (limited to 'src/plug.h')
| -rw-r--r-- | src/plug.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/plug.h b/src/plug.h new file mode 100644 index 0000000..2a9dcea --- /dev/null +++ b/src/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_ |
