X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin3_src%2FWM%2Finclude%2Fipcmessages.h;fp=Usermode%2FApplications%2Faxwin3_src%2FWM%2Finclude%2Fipcmessages.h;h=e825293f4f0132b5831e955600b261121d40f493;hb=9b2597c18780e7b9946336aa76c81c8c6106813a;hp=0000000000000000000000000000000000000000;hpb=1b3ef37ec6016643ee96ebab4c9966d9bb846b21;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin3_src/WM/include/ipcmessages.h b/Usermode/Applications/axwin3_src/WM/include/ipcmessages.h new file mode 100644 index 00000000..e825293f --- /dev/null +++ b/Usermode/Applications/axwin3_src/WM/include/ipcmessages.h @@ -0,0 +1,34 @@ +/* + * Acess2 Window Manager v3 + * - By John Hodge (thePowersGang) + * + * ipcmessages.h + * - IPC Message format definition + */ +#ifndef _IPCMESSAGES_H_ +#define _IPCMESSAGES_H_ + +typedef struct sAxWin_IPCMessage tAxWin_IPCMessage; + +/** + * \name Flags for IPC Messages + * \{ + */ +//! Request a return value +#define IPCMSG_FLAG_RETURN 1 + +struct sAxWin_IPCMessage +{ + uint16_t ID; + uint16_t Flags; + char Data[]; +}; + +enum eAxWin_IPCMessageTypes +{ + IPCMSG_PING, //!< + IPCMSG_SENDMSG, //!< Send a message to another window +}; + +#endif +