Usermode/AxWin3 - Added symlink to handle -l dependency mapping
[tpg/acess2.git] / Usermode / Applications / axwin3_src / WM / include / ipcmessages.h
index d9d7ee8..b0cf14e 100644 (file)
@@ -4,12 +4,18 @@
  *
  * ipcmessages.h
  * - IPC Message format definition
+ * - Shared between library and server
  */
 #ifndef _IPCMESSAGES_H_
 #define _IPCMESSAGES_H_
 
+#include <stdint.h>
+
 typedef struct sAxWin_IPCMessage       tAxWin_IPCMessage;
 typedef struct sIPCMsg_Return  tIPCMsg_Return;
+typedef struct sIPCMsg_CreateWin       tIPCMsg_CreateWin;
+typedef struct sIPCMsg_ShowWindow      tIPCMsg_ShowWindow;
+typedef struct sIPCMsg_SetWindowPos    tIPCMsg_SetWindowPos;
 
 /**
  * \name Flags for IPC Messages
@@ -17,6 +23,9 @@ typedef struct sIPCMsg_Return tIPCMsg_Return;
  */
 //! Request a return value
 #define IPCMSG_FLAG_RETURN     0x01
+/**
+ * \}
+ */
 
 struct sAxWin_IPCMessage
 {
@@ -32,11 +41,35 @@ struct sIPCMsg_Return
        uint32_t        Value;
 };
 
+struct sIPCMsg_CreateWin
+{
+       uint32_t        NewWinID;
+       uint32_t        Flags;
+       char    Renderer[];
+};
+
+struct sIPCMsg_ShowWindow
+{
+       uint32_t        bShow;
+};
+
+struct sIPCMsg_SetWindowPos
+{
+        int16_t        X;
+        int16_t        Y;
+       uint16_t        W;
+       uint16_t        H;
+       uint8_t         Fields;
+};
+
 enum eAxWin_IPCMessageTypes
 {
-       IPCMSG_PING,    //!< 
-       IPCMSG_SENDMSG, //!< Send a message to another window
+       IPCMSG_PING,    //!< Get the server version
+       IPCMSG_SENDMSG,         //!< Send a message to another window (or to self)
+       IPCMSG_CREATEWIN,       //!< Create a window
+       IPCMSG_DESTROYWIN,      //!< Destroy a window
+       IPCMSG_SHOWWINDOW,      //!< Show/Hide a window
+       IPCMSG_SETWINPOS,       //!< Set a window position
 };
 
 #endif
-

UCC git Repository :: git.ucc.asn.au