diff options
| author | yuzu-eva <cafebabe@disroot.org> | 2025-04-23 11:21:04 +0200 |
|---|---|---|
| committer | yuzu-eva <cafebabe@disroot.org> | 2025-04-23 11:21:04 +0200 |
| commit | a029d434b3f67c37bb4663be8e9b4d6623a32955 (patch) | |
| tree | 44872c7797ff3b2b27a53ead3f9ca4ce80b5b30c /plug.h | |
| parent | 083dc7097143385e55ca14372194da7e05fb8c19 (diff) | |
restructure project
Diffstat (limited to 'plug.h')
| -rw-r--r-- | plug.h | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -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_ |
