ui/common/document.h

changeset 37
56016468753d
parent 7
431dde3c5fbe
child 38
8ccdde37275b
--- 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);
 
 
 

mercurial