diff options
author | Jean-Francois Mauguit <jfmauguit@mac.com> | 2024-09-24 09:03:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 09:03:25 -0400 |
commit | bab614c421ed7ae329d26bf028c4a3b1d2450f5a (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/Plugins/SDK/irctell/irctell.h | |
parent | 4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff) | |
parent | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff) | |
download | winamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz |
Merge pull request #5 from WinampDesktop/community
Merge to main
Diffstat (limited to 'Src/Plugins/SDK/irctell/irctell.h')
-rw-r--r-- | Src/Plugins/SDK/irctell/irctell.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Src/Plugins/SDK/irctell/irctell.h b/Src/Plugins/SDK/irctell/irctell.h new file mode 100644 index 00000000..3054aec1 --- /dev/null +++ b/Src/Plugins/SDK/irctell/irctell.h @@ -0,0 +1,29 @@ +#ifndef _GENERIC_H +#define _GENERIC_H + + +#include <api/syscb/callbacks/corecb.h> +#include <api/syscb/callbacks/svccb.h> +#include "../Agave/Component/ifc_wa5component.h" +#include <bfc/multipatch.h> + +enum { patch_wa5, patch_core, patch_svc}; +class WACIrctell :public MultiPatch<patch_wa5, ifc_wa5component>, + public MultiPatch<patch_core, CoreCallback>, + public MultiPatch<patch_svc, SysCallback> +{ + +public: + void RegisterServices(api_service *service); + void DeregisterServices(api_service *service); + + int ccb_notify(int msg, int param1=0, int param2=0); + + FOURCC getEventType(); + int notify(int msg, int param1 = 0, int param2 = 0); + +protected: + RECVS_MULTIPATCH; +}; + +#endif |