summaryrefslogtreecommitdiff
path: root/lib/dia_xml.h
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2009-02-01 17:58:11 +0000
committerHans Breuer <hans@src.gnome.org>2009-02-01 17:58:11 +0000
commitb21e21ddcd6a8970b69a0cf48be0859faa1606bb (patch)
tree2b013cd508be5fc8861ea313f78400b593a13967 /lib/dia_xml.h
parent5da0e66a465136eb113790c140d8624e11125243 (diff)
downloaddia-b21e21ddcd6a8970b69a0cf48be0859faa1606bb.tar.xz
allow to serialize meta info with every DiaObject - no UI to modify it yet
2009-02-01 Hans Breuer <hans@breuer.org> * lib/object.[ch] lib/dia_xml.[ch] lib/prop_dict.[ch] lib/properties.[ch] lib/propinternals.h lib/Makefile.am lib/libdia.def po/POTFILES.in : allow to serialize meta info with every DiaObject - no UI to modify it yet * lib/plug-ins.h : bump api version because object size has changed * plug-ins/python/pydia-property.c : handle translation between Python and Dia dictionary to make accesible. Also s/g_warning/g_debug/ * plug-ins/python/diasvg_import.c : generate object meta info to test the above. Also fixes regarding text color. svn path=/trunk/; revision=4251
Diffstat (limited to 'lib/dia_xml.h')
-rw-r--r--lib/dia_xml.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/dia_xml.h b/lib/dia_xml.h
index feae6b52..f6082e05 100644
--- a/lib/dia_xml.h
+++ b/lib/dia_xml.h
@@ -58,6 +58,7 @@ typedef enum{
DATATYPE_STRING,
DATATYPE_FONT,
DATATYPE_BEZPOINT,
+ DATATYPE_DICT
} DataType;
AttributeNode object_find_attribute(ObjectNode obj_node,
@@ -97,5 +98,8 @@ void data_add_font(AttributeNode attr, const DiaFont *font);
DataNode data_add_composite(AttributeNode attr,
const char *type); /* can be NULL */
+GHashTable *data_dict (DataNode data);
+void data_add_dict (AttributeNode attr, GHashTable *data);
+
#endif /* DIA_XML_H */