git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Big rewrite of AxWin to get it to compile and run
[tpg/acess2.git]
/
Usermode
/
include
/
axwin
/
messages.h
diff --git
a/Usermode/include/axwin/messages.h
b/Usermode/include/axwin/messages.h
index
b27583e
..
8a14223
100644
(file)
--- a/
Usermode/include/axwin/messages.h
+++ b/
Usermode/include/axwin/messages.h
@@
-9,6
+9,13
@@
#include <stdint.h>
typedef struct sAxWin_Message tAxWin_Message;
#include <stdint.h>
typedef struct sAxWin_Message tAxWin_Message;
+typedef struct sAxWin_RetMsg tAxWin_RetMsg;
+
+// Higherarchy:
+// - HANDLE
+// + ELEMENT
+// > DIALOG
+// > TAB
/**
* \brief Message IDs
/**
* \brief Message IDs
@@
-20,11
+27,11
@@
enum eAxWin_Messages
// - Windows
MSG_SREQ_REGISTER, // bool (char[] Name) - Registers this PID with the Window Manager
// - Windows
MSG_SREQ_REGISTER, // bool (char[] Name) - Registers this PID with the Window Manager
- MSG_SREQ_ADDTAB, //
ELEMENT
(char[] Name) - Adds a tab to the window
+ MSG_SREQ_ADDTAB, //
TAB
(char[] Name) - Adds a tab to the window
MSG_SREQ_DELTAB, // void (TAB Tab) - Closes a tab
MSG_SREQ_DELTAB, // void (TAB Tab) - Closes a tab
- MSG_SREQ_NEWDIALOG, //
ELEMENT (ELEMENT Parent, char[] Name)
- Creates a dialog
- MSG_SREQ_DELDIALOG, // void (
ELEMENT Dialog)
- Closes a dialog
+ MSG_SREQ_NEWDIALOG, //
DIALOG (TAB Parent, char[] Name)
- Creates a dialog
+ MSG_SREQ_DELDIALOG, // void (
DIALOG Dialog)
- Closes a dialog
MSG_SREQ_SETNAME, // void (ELEMENT Element, char[] Name)
MSG_SREQ_GETNAME, // char[] (ELEMENT Element)
MSG_SREQ_SETNAME, // void (ELEMENT Element, char[] Name)
MSG_SREQ_GETNAME, // char[] (ELEMENT Element)
@@
-98,14
+105,18
@@
struct sAxWin_Message
{
uint16_t ID;
uint16_t Size; //!< Size in DWORDS
{
uint16_t ID;
uint16_t Size; //!< Size in DWORDS
+ char Data[];
+};
+
+struct sAxWin_RetMsg
+{
+ uint16_t ReqID;
+ uint16_t Rsvd;
union
{
union
{
- struct sAxWin_SReq_Ping SReq_Pong;
- struct sAxWin_SReq_NewWindow SReq_NewWindow;
-
- // Server Responses
- struct sAxWin_SRsp_Pong SRsp_Pong;
- struct sAxWin_SRsp_NewWindow SRsp_Window;
+ uint8_t Bool;
+ uint32_t Handle;
+ int Integer;
};
};
};
};
UCC
git Repository :: git.ucc.asn.au