Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Wasabi/api/syscb/cbmgr.h

19 lines
420 B
C
Raw Normal View History

2024-09-24 12:54:57 +00:00
#ifndef _CBMGR_H
#define _CBMGR_H
#include <bfc/std.h>
class SysCallback;
class WaComponent;
class CallbackManager {
public:
static void registerCallback(SysCallback *cb, void *param, WaComponent *owner);
static void deregisterCallback(SysCallback *cb, WaComponent *owner);
static void issueCallback(int eventtype, int msg, intptr_t param1 = 0, intptr_t param2 = 0);
static int getNumCallbacks();
};
#endif