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/wnd/popexitcb.h
2024-09-24 14:54:57 +02:00

41 lines
801 B
C++

#ifndef _POPUPCB_H
#define _POPUPCB_H
#include <bfc/common.h>
#include <bfc/dispatch.h>
class ifc_dependent;
class PopupExitCallback : public Dispatchable {
public:
int popupexitcb_onExitPopup();
ifc_dependent *popupexit_getDependencyPtr();
enum {
POPUPEXIT_ONEXITPOPUP=100,
POPUPEXIT_GETDEPENDENCYPTR=110,
};
};
inline int PopupExitCallback::popupexitcb_onExitPopup() {
return _call(POPUPEXIT_ONEXITPOPUP, 0);
}
inline ifc_dependent *PopupExitCallback::popupexit_getDependencyPtr() {
return _call(POPUPEXIT_GETDEPENDENCYPTR, (ifc_dependent *)NULL);
}
class PopupExitCallbackI : public PopupExitCallback {
public:
virtual int popupexitcb_onExitPopup()=0;
virtual ifc_dependent *popupexit_getDependencyPtr()=0;
protected:
RECVS_DISPATCH;
};
#endif