X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin2_src%2FWM%2Fwm.h;h=8de9e206e6925ca43c157173a7c9068fc9131b03;hb=ad2ec62655e1d6eb8f2b4a4684eb5d7952aea0fb;hp=552fd4d9ce490ed25b21bb9ff347a0989a6e5c8e;hpb=b32d0aff4c3ed251970a2244d5ead84cd86d50cd;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin2_src/WM/wm.h b/Usermode/Applications/axwin2_src/WM/wm.h index 552fd4d9..8de9e206 100644 --- a/Usermode/Applications/axwin2_src/WM/wm.h +++ b/Usermode/Applications/axwin2_src/WM/wm.h @@ -5,8 +5,11 @@ #define _WM_H_ #include +#include "common.h" typedef struct sAxWin_Element tElement; +typedef struct sTab tTab; +typedef struct sApplication tApplication; struct sAxWin_Element { @@ -41,28 +44,32 @@ struct sAxWin_Element char DebugName[]; }; -typedef struct sTab +struct sTab { int Type; // Should be zero, allows a tab to be the parent of an element tElement *Parent; tElement *FirstChild; tElement *LastChild; - struct sTab *NextTab; + tTab *NextTab; char *Name; tElement *RootElement; -} tTab; +}; -typedef struct sApplication +struct sApplication { - pid_t PID; + tApplication *Next; + + void *Ident; + tMessages_Handle_Callback *SendMessage; int nTabs; tTab *Tabs; + tTab *CurrentTab; char Name[]; -} tApplication; +}; #endif