*
* 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;
/**
* \name Flags for IPC Messages
*/
//! Request a return value
#define IPCMSG_FLAG_RETURN 0x01
+/**
+ * \}
+ */
struct sAxWin_IPCMessage
{
uint32_t Value;
};
+struct sIPCMsg_CreateWin
+{
+ uint32_t NewWinID;
+ uint32_t Flags;
+ char Renderer[];
+};
+
enum eAxWin_IPCMessageTypes
{
IPCMSG_PING, //!<
IPCMSG_SENDMSG, //!< Send a message to another window
+ IPCMSG_CREATEWIN, //!< Create a window
};
#endif
-