diff -r e4198fc2ead4 -r 56016468753d ui/common/document.h --- a/ui/common/document.h Sun May 11 11:35:33 2014 +0200 +++ b/ui/common/document.h Thu May 15 15:53:29 2014 +0200 @@ -36,33 +36,14 @@ extern "C" { #endif -typedef struct UiDocument UiDocument; - -struct UiDocument { - UiObject *obj; - UcxMempool *mempool; - 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, + UiContext *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);