From 78d14f80e9a72041ede52c30d912ec5cef21b1b3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 9 Jun 2001 22:43:51 +0000 Subject: [PATCH] changed wxXML to XRC, wx/xml/*.h->wx/xrc/*.h git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/xrc/FORMAT.txt | 324 ++ contrib/src/xrc/Makefile.in | 41 + contrib/src/xrc/README.EXPAT | 39 + contrib/src/xrc/expat/copying.txt | 20 + contrib/src/xrc/expat/xmlparse/xmlparse.c | 3925 ++++++++++++++++++++ contrib/src/xrc/expat/xmlparse/xmlparse.h | 527 +++ contrib/src/xrc/expat/xmltok/ascii.h | 86 + contrib/src/xrc/expat/xmltok/asciitab.h | 37 + contrib/src/xrc/expat/xmltok/dllmain.c | 15 + contrib/src/xrc/expat/xmltok/iasciitab.h | 38 + contrib/src/xrc/expat/xmltok/latin1tab.h | 37 + contrib/src/xrc/expat/xmltok/nametab.h | 150 + contrib/src/xrc/expat/xmltok/utf8tab.h | 38 + contrib/src/xrc/expat/xmltok/xmldef.h | 52 + contrib/src/xrc/expat/xmltok/xmlrole.c | 1268 +++++++ contrib/src/xrc/expat/xmltok/xmlrole.h | 99 + contrib/src/xrc/expat/xmltok/xmltok.c | 1557 ++++++++ contrib/src/xrc/expat/xmltok/xmltok.h | 301 ++ contrib/src/xrc/expat/xmltok/xmltok_impl.c | 1790 +++++++++ contrib/src/xrc/expat/xmltok/xmltok_impl.h | 46 + contrib/src/xrc/expat/xmltok/xmltok_ns.c | 96 + contrib/src/xrc/makefile.b32 | 40 + contrib/src/xrc/makefile.g95 | 40 + contrib/src/xrc/makefile.vc | 149 + contrib/src/xrc/makefile.wat | 31 + contrib/src/xrc/wxXMLVC.dsp | 254 ++ contrib/src/xrc/wxXMLVC.dsw | 29 + contrib/src/xrc/xh_bmp.cpp | 60 + contrib/src/xrc/xh_bmpbt.cpp | 66 + contrib/src/xrc/xh_bttn.cpp | 59 + contrib/src/xrc/xh_cald.cpp | 61 + contrib/src/xrc/xh_chckb.cpp | 57 + contrib/src/xrc/xh_chckl.cpp | 109 + contrib/src/xrc/xh_choic.cpp | 95 + contrib/src/xrc/xh_combo.cpp | 101 + contrib/src/xrc/xh_dlg.cpp | 80 + contrib/src/xrc/xh_frame.cpp | 85 + contrib/src/xrc/xh_gauge.cpp | 74 + contrib/src/xrc/xh_html.cpp | 72 + contrib/src/xrc/xh_listb.cpp | 101 + contrib/src/xrc/xh_listc.cpp | 67 + contrib/src/xrc/xh_menu.cpp | 135 + contrib/src/xrc/xh_notbk.cpp | 100 + contrib/src/xrc/xh_panel.cpp | 63 + contrib/src/xrc/xh_radbt.cpp | 66 + contrib/src/xrc/xh_radbx.cpp | 102 + contrib/src/xrc/xh_scrol.cpp | 63 + contrib/src/xrc/xh_sizer.cpp | 219 ++ contrib/src/xrc/xh_slidr.cpp | 94 + contrib/src/xrc/xh_spin.cpp | 99 + contrib/src/xrc/xh_stbmp.cpp | 52 + contrib/src/xrc/xh_stbox.cpp | 52 + contrib/src/xrc/xh_stlin.cpp | 55 + contrib/src/xrc/xh_sttxt.cpp | 56 + contrib/src/xrc/xh_text.cpp | 58 + contrib/src/xrc/xh_toolb.cpp | 129 + contrib/src/xrc/xh_tree.cpp | 57 + contrib/src/xrc/xh_unkwn.cpp | 91 + contrib/src/xrc/xml.cpp | 441 +++ contrib/src/xrc/xmlbin.cpp | 161 + contrib/src/xrc/xmlbinz.cpp | 59 + contrib/src/xrc/xmlexpat.cpp | 198 + contrib/src/xrc/xmlres.cpp | 1001 +++++ contrib/src/xrc/xmlrsall.cpp | 97 + contrib/src/xrc/xmlwrite.cpp | 152 + src/xrc/FORMAT.txt | 324 ++ src/xrc/Makefile.in | 41 + src/xrc/README.EXPAT | 39 + src/xrc/expat/copying.txt | 20 + src/xrc/expat/xmlparse/xmlparse.c | 3925 ++++++++++++++++++++ src/xrc/expat/xmlparse/xmlparse.h | 527 +++ src/xrc/expat/xmltok/ascii.h | 86 + src/xrc/expat/xmltok/asciitab.h | 37 + src/xrc/expat/xmltok/dllmain.c | 15 + src/xrc/expat/xmltok/iasciitab.h | 38 + src/xrc/expat/xmltok/latin1tab.h | 37 + src/xrc/expat/xmltok/nametab.h | 150 + src/xrc/expat/xmltok/utf8tab.h | 38 + src/xrc/expat/xmltok/xmldef.h | 52 + src/xrc/expat/xmltok/xmlrole.c | 1268 +++++++ src/xrc/expat/xmltok/xmlrole.h | 99 + src/xrc/expat/xmltok/xmltok.c | 1557 ++++++++ src/xrc/expat/xmltok/xmltok.h | 301 ++ src/xrc/expat/xmltok/xmltok_impl.c | 1790 +++++++++ src/xrc/expat/xmltok/xmltok_impl.h | 46 + src/xrc/expat/xmltok/xmltok_ns.c | 96 + src/xrc/makefile.b32 | 40 + src/xrc/makefile.g95 | 40 + src/xrc/makefile.vc | 149 + src/xrc/makefile.wat | 31 + src/xrc/wxXMLVC.dsp | 254 ++ src/xrc/wxXMLVC.dsw | 29 + src/xrc/xh_bmp.cpp | 60 + src/xrc/xh_bmpbt.cpp | 66 + src/xrc/xh_bttn.cpp | 59 + src/xrc/xh_cald.cpp | 61 + src/xrc/xh_chckb.cpp | 57 + src/xrc/xh_chckl.cpp | 109 + src/xrc/xh_choic.cpp | 95 + src/xrc/xh_combo.cpp | 101 + src/xrc/xh_dlg.cpp | 80 + src/xrc/xh_frame.cpp | 85 + src/xrc/xh_gauge.cpp | 74 + src/xrc/xh_html.cpp | 72 + src/xrc/xh_listb.cpp | 101 + src/xrc/xh_listc.cpp | 67 + src/xrc/xh_menu.cpp | 135 + src/xrc/xh_notbk.cpp | 100 + src/xrc/xh_panel.cpp | 63 + src/xrc/xh_radbt.cpp | 66 + src/xrc/xh_radbx.cpp | 102 + src/xrc/xh_scrol.cpp | 63 + src/xrc/xh_sizer.cpp | 219 ++ src/xrc/xh_slidr.cpp | 94 + src/xrc/xh_spin.cpp | 99 + src/xrc/xh_stbmp.cpp | 52 + src/xrc/xh_stbox.cpp | 52 + src/xrc/xh_stlin.cpp | 55 + src/xrc/xh_sttxt.cpp | 56 + src/xrc/xh_text.cpp | 58 + src/xrc/xh_toolb.cpp | 129 + src/xrc/xh_tree.cpp | 57 + src/xrc/xh_unkwn.cpp | 91 + src/xrc/xml.cpp | 441 +++ src/xrc/xmlbin.cpp | 161 + src/xrc/xmlbinz.cpp | 59 + src/xrc/xmlexpat.cpp | 198 + src/xrc/xmlres.cpp | 1001 +++++ src/xrc/xmlrsall.cpp | 97 + src/xrc/xmlwrite.cpp | 152 + 130 files changed, 31432 insertions(+) create mode 100644 contrib/src/xrc/FORMAT.txt create mode 100644 contrib/src/xrc/Makefile.in create mode 100644 contrib/src/xrc/README.EXPAT create mode 100644 contrib/src/xrc/expat/copying.txt create mode 100644 contrib/src/xrc/expat/xmlparse/xmlparse.c create mode 100644 contrib/src/xrc/expat/xmlparse/xmlparse.h create mode 100644 contrib/src/xrc/expat/xmltok/ascii.h create mode 100644 contrib/src/xrc/expat/xmltok/asciitab.h create mode 100644 contrib/src/xrc/expat/xmltok/dllmain.c create mode 100644 contrib/src/xrc/expat/xmltok/iasciitab.h create mode 100644 contrib/src/xrc/expat/xmltok/latin1tab.h create mode 100644 contrib/src/xrc/expat/xmltok/nametab.h create mode 100644 contrib/src/xrc/expat/xmltok/utf8tab.h create mode 100644 contrib/src/xrc/expat/xmltok/xmldef.h create mode 100644 contrib/src/xrc/expat/xmltok/xmlrole.c create mode 100644 contrib/src/xrc/expat/xmltok/xmlrole.h create mode 100644 contrib/src/xrc/expat/xmltok/xmltok.c create mode 100644 contrib/src/xrc/expat/xmltok/xmltok.h create mode 100644 contrib/src/xrc/expat/xmltok/xmltok_impl.c create mode 100644 contrib/src/xrc/expat/xmltok/xmltok_impl.h create mode 100644 contrib/src/xrc/expat/xmltok/xmltok_ns.c create mode 100644 contrib/src/xrc/makefile.b32 create mode 100644 contrib/src/xrc/makefile.g95 create mode 100644 contrib/src/xrc/makefile.vc create mode 100644 contrib/src/xrc/makefile.wat create mode 100644 contrib/src/xrc/wxXMLVC.dsp create mode 100644 contrib/src/xrc/wxXMLVC.dsw create mode 100644 contrib/src/xrc/xh_bmp.cpp create mode 100644 contrib/src/xrc/xh_bmpbt.cpp create mode 100644 contrib/src/xrc/xh_bttn.cpp create mode 100644 contrib/src/xrc/xh_cald.cpp create mode 100644 contrib/src/xrc/xh_chckb.cpp create mode 100644 contrib/src/xrc/xh_chckl.cpp create mode 100644 contrib/src/xrc/xh_choic.cpp create mode 100644 contrib/src/xrc/xh_combo.cpp create mode 100644 contrib/src/xrc/xh_dlg.cpp create mode 100644 contrib/src/xrc/xh_frame.cpp create mode 100644 contrib/src/xrc/xh_gauge.cpp create mode 100644 contrib/src/xrc/xh_html.cpp create mode 100644 contrib/src/xrc/xh_listb.cpp create mode 100644 contrib/src/xrc/xh_listc.cpp create mode 100644 contrib/src/xrc/xh_menu.cpp create mode 100644 contrib/src/xrc/xh_notbk.cpp create mode 100644 contrib/src/xrc/xh_panel.cpp create mode 100644 contrib/src/xrc/xh_radbt.cpp create mode 100644 contrib/src/xrc/xh_radbx.cpp create mode 100644 contrib/src/xrc/xh_scrol.cpp create mode 100644 contrib/src/xrc/xh_sizer.cpp create mode 100644 contrib/src/xrc/xh_slidr.cpp create mode 100644 contrib/src/xrc/xh_spin.cpp create mode 100644 contrib/src/xrc/xh_stbmp.cpp create mode 100644 contrib/src/xrc/xh_stbox.cpp create mode 100644 contrib/src/xrc/xh_stlin.cpp create mode 100644 contrib/src/xrc/xh_sttxt.cpp create mode 100644 contrib/src/xrc/xh_text.cpp create mode 100644 contrib/src/xrc/xh_toolb.cpp create mode 100644 contrib/src/xrc/xh_tree.cpp create mode 100644 contrib/src/xrc/xh_unkwn.cpp create mode 100644 contrib/src/xrc/xml.cpp create mode 100644 contrib/src/xrc/xmlbin.cpp create mode 100644 contrib/src/xrc/xmlbinz.cpp create mode 100644 contrib/src/xrc/xmlexpat.cpp create mode 100644 contrib/src/xrc/xmlres.cpp create mode 100644 contrib/src/xrc/xmlrsall.cpp create mode 100644 contrib/src/xrc/xmlwrite.cpp create mode 100644 src/xrc/FORMAT.txt create mode 100644 src/xrc/Makefile.in create mode 100644 src/xrc/README.EXPAT create mode 100644 src/xrc/expat/copying.txt create mode 100644 src/xrc/expat/xmlparse/xmlparse.c create mode 100644 src/xrc/expat/xmlparse/xmlparse.h create mode 100644 src/xrc/expat/xmltok/ascii.h create mode 100644 src/xrc/expat/xmltok/asciitab.h create mode 100644 src/xrc/expat/xmltok/dllmain.c create mode 100644 src/xrc/expat/xmltok/iasciitab.h create mode 100644 src/xrc/expat/xmltok/latin1tab.h create mode 100644 src/xrc/expat/xmltok/nametab.h create mode 100644 src/xrc/expat/xmltok/utf8tab.h create mode 100644 src/xrc/expat/xmltok/xmldef.h create mode 100644 src/xrc/expat/xmltok/xmlrole.c create mode 100644 src/xrc/expat/xmltok/xmlrole.h create mode 100644 src/xrc/expat/xmltok/xmltok.c create mode 100644 src/xrc/expat/xmltok/xmltok.h create mode 100644 src/xrc/expat/xmltok/xmltok_impl.c create mode 100644 src/xrc/expat/xmltok/xmltok_impl.h create mode 100644 src/xrc/expat/xmltok/xmltok_ns.c create mode 100644 src/xrc/makefile.b32 create mode 100644 src/xrc/makefile.g95 create mode 100644 src/xrc/makefile.vc create mode 100644 src/xrc/makefile.wat create mode 100644 src/xrc/wxXMLVC.dsp create mode 100644 src/xrc/wxXMLVC.dsw create mode 100644 src/xrc/xh_bmp.cpp create mode 100644 src/xrc/xh_bmpbt.cpp create mode 100644 src/xrc/xh_bttn.cpp create mode 100644 src/xrc/xh_cald.cpp create mode 100644 src/xrc/xh_chckb.cpp create mode 100644 src/xrc/xh_chckl.cpp create mode 100644 src/xrc/xh_choic.cpp create mode 100644 src/xrc/xh_combo.cpp create mode 100644 src/xrc/xh_dlg.cpp create mode 100644 src/xrc/xh_frame.cpp create mode 100644 src/xrc/xh_gauge.cpp create mode 100644 src/xrc/xh_html.cpp create mode 100644 src/xrc/xh_listb.cpp create mode 100644 src/xrc/xh_listc.cpp create mode 100644 src/xrc/xh_menu.cpp create mode 100644 src/xrc/xh_notbk.cpp create mode 100644 src/xrc/xh_panel.cpp create mode 100644 src/xrc/xh_radbt.cpp create mode 100644 src/xrc/xh_radbx.cpp create mode 100644 src/xrc/xh_scrol.cpp create mode 100644 src/xrc/xh_sizer.cpp create mode 100644 src/xrc/xh_slidr.cpp create mode 100644 src/xrc/xh_spin.cpp create mode 100644 src/xrc/xh_stbmp.cpp create mode 100644 src/xrc/xh_stbox.cpp create mode 100644 src/xrc/xh_stlin.cpp create mode 100644 src/xrc/xh_sttxt.cpp create mode 100644 src/xrc/xh_text.cpp create mode 100644 src/xrc/xh_toolb.cpp create mode 100644 src/xrc/xh_tree.cpp create mode 100644 src/xrc/xh_unkwn.cpp create mode 100644 src/xrc/xml.cpp create mode 100644 src/xrc/xmlbin.cpp create mode 100644 src/xrc/xmlbinz.cpp create mode 100644 src/xrc/xmlexpat.cpp create mode 100644 src/xrc/xmlres.cpp create mode 100644 src/xrc/xmlrsall.cpp create mode 100644 src/xrc/xmlwrite.cpp diff --git a/contrib/src/xrc/FORMAT.txt b/contrib/src/xrc/FORMAT.txt new file mode 100644 index 0000000000..6d93b5d28b --- /dev/null +++ b/contrib/src/xrc/FORMAT.txt @@ -0,0 +1,324 @@ + + XML resources file format + =============================== + + 1. Basics +----------- + +XML resource is well-formed XML document, i.e. all tags are paired +and there is only one root node, which is always . + +In the following text, I will use standard XML terminology: + + + + + +Here, tag_one is a node (the word 'tag' refers to the type of the node), +prop1 and prop2 are properties and tag_two is a child node of tag_one. +Property's default value is the value that will be assigned to the property +if you do not specify it explicitly. + +I will use the term "primary node" to refer to nodes than represent controls, +dialogs etc. "Secondary nodes" are nodes used to store data: + + primary + Demo Dialog... secondary + 100,200d secondary + secondary + + + + +In the example above,