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_ReturnInt tIPCMsg_ReturnInt;
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;
21 typedef struct sIPCMsg_GetDisplayDims tIPCMsg_GetDisplayDims;
22 typedef struct sIPCMsg_RetDisplayDims tIPCMsg_RetDisplayDims;
25 * \name Flags for IPC Messages
28 //! Request a return value
29 #define IPCMSG_FLAG_RETURN 0x01
34 struct sAxWin_IPCMessage
43 struct sIPCMsg_ReturnInt
48 struct sIPCMsg_CreateWin
55 struct sIPCMsg_SendMsg
57 uint32_t Remote; // Dest/Source for Server/Client bound
63 struct sIPCMsg_ShowWindow
68 struct sIPCMsg_SetWindowPos
76 struct sIPCMsg_GetDisplayDims
81 struct sIPCMsg_RetDisplayDims
89 enum eAxWin_IPCMessageTypes
91 IPCMSG_PING, //!< Get the server version
92 IPCMSG_GETDISPLAYCOUNT,
93 IPCMSG_GETDISPLAYDIMS,
95 IPCMSG_SENDMSG, //!< Send a message to another window (or to self)
96 IPCMSG_CREATEWIN, //!< Create a window
97 IPCMSG_DESTROYWIN, //!< Destroy a window
98 IPCMSG_SHOWWINDOW, //!< Show/Hide a window
99 IPCMSG_SETWINPOS, //!< Set a window position