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;
21 * \name Flags for IPC Messages
24 //! Request a return value
25 #define IPCMSG_FLAG_RETURN 0x01
30 struct sAxWin_IPCMessage
44 struct sIPCMsg_CreateWin
51 struct sIPCMsg_ShowWindow
56 struct sIPCMsg_SetWindowPos
64 enum eAxWin_IPCMessageTypes
66 IPCMSG_PING, //!< Get the server version
67 IPCMSG_SENDMSG, //!< Send a message to another window (or to self)
68 IPCMSG_CREATEWIN, //!< Create a window
69 IPCMSG_DESTROYWIN, //!< Destroy a window
70 IPCMSG_SHOWWINDOW, //!< Show/Hide a window
71 IPCMSG_SETWINPOS, //!< Set a window position