Usermode/init - Fixed early free of command, fixed %s on array
[tpg/acess2.git] / Usermode / Applications / axwin3_src / include / menu_messages.h
1 /*
2  * Acess2 Window Manager v3
3  * - By John Hodge (thePowersGang)
4  *
5  * menu_messages.h
6  * - AxWin3 Menu IPC Messages
7  */
8 #ifndef _MENU_MESSAGES_H_
9 #define _MENU_MESSAGES_H_
10
11 #include "ipcmessages.h"
12
13 // Client->Server IPC methods
14 enum eMenuIPCCalls
15 {
16         IPC_MENU_ADDITEM,
17         IPC_MENU_SETFLAGS
18 };
19
20 typedef struct
21 {
22         uint16_t        ID;
23         uint16_t        Flags;
24         uint32_t        SubMenuID;
25         char    Label[];
26 } tMenuIPC_AddItem;
27
28 typedef struct
29 {
30         uint16_t        ID;
31         uint16_t        Value;
32         uint16_t        Mask;
33 } tMenuIPC_SetFlags;
34
35 // Server->Client messages
36 enum eMenuMessages
37 {
38         MSG_MENU_SELECT = 0x1000
39 };
40
41 typedef struct
42 {
43         uint16_t        ID;
44 } tMenuMsg_Select;
45
46 #endif
47

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