aboutsummaryrefslogtreecommitdiffstats
path: root/libconfig/jmccrohan-example.cfg
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2011-10-12 21:50:48 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2011-10-12 21:50:48 +0100
commit6cfbf2dee130cc36a72d57adea0e9c04bb31f620 (patch)
tree638bcaf4c63e3d3be17e0f5e7d74639394d15702 /libconfig/jmccrohan-example.cfg
downloadverteco-6cfbf2dee130cc36a72d57adea0e9c04bb31f620.tar.gz
Initial commit
Diffstat (limited to 'libconfig/jmccrohan-example.cfg')
-rw-r--r--libconfig/jmccrohan-example.cfg47
1 files changed, 47 insertions, 0 deletions
diff --git a/libconfig/jmccrohan-example.cfg b/libconfig/jmccrohan-example.cfg
new file mode 100644
index 0000000..b217dfb
--- /dev/null
+++ b/libconfig/jmccrohan-example.cfg
@@ -0,0 +1,47 @@
+// An example configuration file that stores information about a store.
+
+// Basic store information:
+version = "0.99beta";
+
+// Store inventory:
+modbusdevices =
+{
+ monday = (
+ { time = "05:00";
+ author = "Robert Louis Stevenson";
+ price = 29.99;
+ qty = 5; },
+ { title = "Snow Crash";
+ author = "Neal Stephenson";
+ price = 9.99;
+ qty = 8; }
+ );
+
+ movies = ( { title = "Brazil";
+ media = "DVD";
+ price = 19.99;
+ qty = 11; },
+ { title = "The City of Lost Children";
+ media = "DVD";
+ price = 18.99;
+ qty = 5; },
+ { title = "Memento";
+ media = "Blu-Ray";
+ price = 24.99;
+ qty = 20;
+ },
+ { title = "Howard the Duck"; }
+ );
+};
+
+// Store hours:
+hours =
+{
+ mon = { open = 9; close = 18; };
+ tue = { open = 9; close = 18; };
+ wed = { open = 9; close = 18; };
+ thu = { open = 9; close = 18; };
+ fri = { open = 9; close = 20; };
+ sat = { open = 9; close = 20; };
+ sun = { open = 11; close = 16; };
+};