Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
40
Src/Wasabi/api/wnd/popexitcb.h
Normal file
40
Src/Wasabi/api/wnd/popexitcb.h
Normal file
|
@ -0,0 +1,40 @@
|
|||
#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
|
Loading…
Add table
Add a link
Reference in a new issue