Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
26
Src/Wasabi/api/application/ifc_messageprocessor.h
Normal file
26
Src/Wasabi/api/application/ifc_messageprocessor.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
#ifndef __WASABI_IFC_MESSAGEPROCESSOR_H
|
||||
#define __WASABI_IFC_MESSAGEPROCESSOR_H
|
||||
|
||||
#include <bfc/dispatch.h>
|
||||
#include <windows.h>
|
||||
class ifc_messageprocessor : public Dispatchable
|
||||
{
|
||||
protected:
|
||||
ifc_messageprocessor() {}
|
||||
~ifc_messageprocessor() {}
|
||||
|
||||
public:
|
||||
bool ProcessMessage(MSG *msg); // return true to 'eat' the message
|
||||
public:
|
||||
DISPATCH_CODES
|
||||
{
|
||||
IFC_MESSAGEPROCESSOR_PROCESS_MESSAGE = 10,
|
||||
};
|
||||
};
|
||||
inline bool ifc_messageprocessor::ProcessMessage(MSG *msg)
|
||||
{
|
||||
return _call(IFC_MESSAGEPROCESSOR_PROCESS_MESSAGE, false, msg);
|
||||
}
|
||||
|
||||
typedef ifc_messageprocessor api_messageprocessor; // TODO: CUT!
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue