1
0

irctell.h 676 B

1234567891011121314151617181920212223242526272829
  1. #ifndef _GENERIC_H
  2. #define _GENERIC_H
  3. #include <api/syscb/callbacks/corecb.h>
  4. #include <api/syscb/callbacks/svccb.h>
  5. #include "../Agave/Component/ifc_wa5component.h"
  6. #include <bfc/multipatch.h>
  7. enum { patch_wa5, patch_core, patch_svc};
  8. class WACIrctell :public MultiPatch<patch_wa5, ifc_wa5component>,
  9. public MultiPatch<patch_core, CoreCallback>,
  10. public MultiPatch<patch_svc, SysCallback>
  11. {
  12. public:
  13. void RegisterServices(api_service *service);
  14. void DeregisterServices(api_service *service);
  15. int ccb_notify(int msg, int param1=0, int param2=0);
  16. FOURCC getEventType();
  17. int notify(int msg, int param1 = 0, int param2 = 0);
  18. protected:
  19. RECVS_MULTIPATCH;
  20. };
  21. #endif