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_Boolean tIPCMsg_Boolean;
18 typedef struct sIPCMsg_SetWindowPos tIPCMsg_SetWindowPos;
19 typedef struct sIPCMsg_SendMsg tIPCMsg_SendMsg;
20 typedef struct sIPCMsg_RegAction tIPCMsg_RegAction;
22 typedef struct sIPCMsg_GetDisplayDims tIPCMsg_GetDisplayDims;
23 typedef struct sIPCMsg_RetDisplayDims tIPCMsg_RetDisplayDims;
26 * \name Flags for IPC Messages
29 //! Request a return value
30 #define IPCMSG_FLAG_RETURN 0x01
35 struct sAxWin_IPCMessage
44 struct sIPCMsg_ReturnInt
49 struct sIPCMsg_CreateWin
56 struct sIPCMsg_SendMsg
58 uint32_t Remote; // Dest/Source for Server/Client bound
64 struct sIPCMsg_Boolean
69 struct sIPCMsg_SetWindowPos
77 struct sIPCMsg_RegAction
83 struct sIPCMsg_GetDisplayDims
88 struct sIPCMsg_RetDisplayDims
96 enum eAxWin_IPCMessageTypes
98 IPCMSG_PING, //!< Get the server version
99 IPCMSG_GETDISPLAYCOUNT,
100 IPCMSG_GETDISPLAYDIMS,
102 IPCMSG_SENDMSG, //!< Send a message to another window (or to self)
103 IPCMSG_CREATEWIN, //!< Create a window
104 IPCMSG_DESTROYWIN, //!< Destroy a window
105 IPCMSG_SETWINTITLE, //!< Set window title
106 IPCMSG_SHOWWINDOW, //!< Show/Hide a window
107 IPCMSG_DECORATEWINDOW, //!< Enable/Disable decorations
108 IPCMSG_FOCUSWINDOW, //!< Give a window focus (no data)
109 IPCMSG_SETWINPOS, //!< Set a window position
110 IPCMSG_REGACTION //!< Register an action name