api_syscbi.h 743 B

12345678910111213141516171819202122232425262728
  1. #ifndef __API_SYSCBI_IMPL_H
  2. #define __API_SYSCBI_IMPL_H
  3. /*<?<autoheader/>*/
  4. #include "api_syscb.h"
  5. #include "api_syscbx.h"
  6. class SysCallback;
  7. /*?>*/
  8. class api_syscbI : public api_syscbX {
  9. public:
  10. DISPATCH(20) int syscb_registerCallback(SysCallback *cb, void *param = NULL);
  11. DISPATCH(10) int syscb_deregisterCallback(SysCallback *cb);
  12. DISPATCH(30) int syscb_issueCallback(int eventtype, int msg, intptr_t p1=0, intptr_t p2=0);
  13. };
  14. /*[interface.footer.h]
  15. // -- generated code - edit in api_syscbi.h
  16. // {57B7A1B6-700E-44ff-9CB0-70B92BAF3959}
  17. static const GUID syscbApiServiceGuid =
  18. { 0x57b7a1b6, 0x700e, 0x44ff, { 0x9c, 0xb0, 0x70, 0xb9, 0x2b, 0xaf, 0x39, 0x59 } };
  19. extern api_syscb *sysCallbackApi;
  20. */
  21. #endif // __API_SYSCBI_IMPL_H