cbmgr.h 420 B

123456789101112131415161718
  1. #ifndef _CBMGR_H
  2. #define _CBMGR_H
  3. #include <bfc/std.h>
  4. class SysCallback;
  5. class WaComponent;
  6. class CallbackManager {
  7. public:
  8. static void registerCallback(SysCallback *cb, void *param, WaComponent *owner);
  9. static void deregisterCallback(SysCallback *cb, WaComponent *owner);
  10. static void issueCallback(int eventtype, int msg, intptr_t param1 = 0, intptr_t param2 = 0);
  11. static int getNumCallbacks();
  12. };
  13. #endif