summaryrefslogtreecommitdiff
path: root/server/xml
diff options
context:
space:
mode:
authordeva <deva>2007-08-27 12:32:55 +0000
committerdeva <deva>2007-08-27 12:32:55 +0000
commit31aea852238dc58182188616c53df8510f4cab4d (patch)
treeda5fee9b5436d8ba4cbde4975a3c82f04e3fd2d3 /server/xml
parent9591262f6204c31f622f57be28b3d727470e2fce (diff)
First dummy 'fetch a file' implementation.
Diffstat (limited to 'server/xml')
-rw-r--r--server/xml/Makefile.am7
-rw-r--r--server/xml/example.xml19
2 files changed, 26 insertions, 0 deletions
diff --git a/server/xml/Makefile.am b/server/xml/Makefile.am
index e69de29..3ad491e 100644
--- a/server/xml/Makefile.am
+++ b/server/xml/Makefile.am
@@ -0,0 +1,7 @@
+EXTRA_DIST = \
+ example.xml
+
+xmldir = $(datadir)/xml
+
+xml_DATA = \
+ example.xml
diff --git a/server/xml/example.xml b/server/xml/example.xml
new file mode 100644
index 0000000..03e2d59
--- /dev/null
+++ b/server/xml/example.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<macro name="test_macro" cpr="1505050505" version="1.0" macro_version="1.0">
+ <window name="mainwindow"
+ caption="This is the mainwindow"
+ width="800"
+ height="600"
+ layout="vbox">
+ <include name="patient"/>
+ <frame name="data_frame" layout="hbox">
+ <label caption="Some field"/>
+ <lineedit name="lineedit1" regexp="[0-9]+"/>
+ </frame>
+ <frame name="bottom_frame" layout="hbox">
+ <spacer />
+ <button caption="Close window" action="abort"/>
+ <button caption="Commit changes" action="commit"/>
+ </frame>
+ </window>
+</macro>