diff -r eb5269000bc8 -r eeb50c534497 ui/common/document.h --- a/ui/common/document.h Sun Dec 08 11:20:41 2013 +0000 +++ b/ui/common/document.h Fri Mar 21 13:20:53 2014 +0100 @@ -41,12 +41,29 @@ struct UiDocument { UiObject *obj; UcxMempool *mempool; - UcxAllocator *allocator; UcxMap *vars; // key: char* value: UiVar* + void *subdocument; }; void uic_docmgr_init(); +UiDocument* uic_getdocument(void *doc); UiVar* uic_document_getvar(UiDocument *doc, char *name); +void uic_document_addvar(void *doc, char *name, int type, size_t vs); +void uic_document_addvar_v( + UiDocument *uidoc, + char *name, + UiVar *newvar, + int type, + size_t vs); +void uic_document_regvar( + void *doc, + char *name, + int type, + size_t vs, + void *value); + +void uic_var_move(UiVar *from, UiVar *to, int set); + #ifdef __cplusplus