2 * Acess2 Window Manager v3
3 * - By John Hodge (thePowersGang)
6 * - IPC Message format definition
7 * - Shared between library and server
9 #ifndef _IPCMESSAGES_H_
10 #define _IPCMESSAGES_H_
14 typedef struct sAxWin_IPCMessage tAxWin_IPCMessage;
15 typedef struct sIPCMsg_Return tIPCMsg_Return;
16 typedef struct sIPCMsg_CreateWin tIPCMsg_CreateWin;
17 typedef struct sIPCMsg_ShowWindow tIPCMsg_ShowWindow;
18 typedef struct sIPCMsg_SetWindowPos tIPCMsg_SetWindowPos;
19 typedef struct sIPCMsg_SendMsg tIPCMsg_SendMsg;
22 * \name Flags for IPC Messages
25 //! Request a return value
26 #define IPCMSG_FLAG_RETURN 0x01
31 struct sAxWin_IPCMessage
45 struct sIPCMsg_CreateWin
52 struct sIPCMsg_SendMsg
54 uint32_t Remote; // Dest/Source for Server/Client bound
60 struct sIPCMsg_ShowWindow
65 struct sIPCMsg_SetWindowPos
73 enum eAxWin_IPCMessageTypes
75 IPCMSG_PING, //!< Get the server version
76 IPCMSG_SENDMSG, //!< Send a message to another window (or to self)
77 IPCMSG_CREATEWIN, //!< Create a window
78 IPCMSG_DESTROYWIN, //!< Destroy a window
79 IPCMSG_SHOWWINDOW, //!< Show/Hide a window
80 IPCMSG_SETWINPOS, //!< Set a window position