aboutsummaryrefslogtreecommitdiff
path: root/brep/options.cli
diff options
context:
space:
mode:
Diffstat (limited to 'brep/options.cli')
-rw-r--r--brep/options.cli24
1 files changed, 24 insertions, 0 deletions
diff --git a/brep/options.cli b/brep/options.cli
new file mode 100644
index 0000000..cbd5d3a
--- /dev/null
+++ b/brep/options.cli
@@ -0,0 +1,24 @@
+include <string>;
+
+namespace brep
+{
+ class module_options
+ {
+ unsigned int verb = 0;
+ };
+
+ class db_options
+ {
+ std::string db-host = "localhost";
+ unsigned short db-port = 3306;
+ };
+
+ class search_options: module_options, db_options
+ {
+ unsigned int results-on-page = 10;
+ };
+
+ class view_options: module_options, db_options
+ {
+ };
+}