mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-09-24 15:54:12 +00:00
18 lines
420 B
C++
18 lines
420 B
C++
#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
|