aboutsummaryrefslogtreecommitdiff
path: root/mod/options-types
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-04-21 16:05:13 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-04-21 16:05:13 +0200
commit2a0f39b29c1bea6a4497c0f1826052ffa453af9e (patch)
tree283f6bf1569c1b9f00b6e25fe986ccfff8a8629f /mod/options-types
parentc6b4d6c6489731eedba606d3c85c4319c4478b50 (diff)
Move module implementation from brep/ to mod/
Diffstat (limited to 'mod/options-types')
-rw-r--r--mod/options-types32
1 files changed, 32 insertions, 0 deletions
diff --git a/mod/options-types b/mod/options-types
new file mode 100644
index 0000000..e696139
--- /dev/null
+++ b/mod/options-types
@@ -0,0 +1,32 @@
+// file : mod/options-types -*- C++ -*-
+// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#ifndef MOD_OPTIONS_TYPES
+#define MOD_OPTIONS_TYPES
+
+#include <brep/types>
+#include <brep/utility>
+
+namespace brep
+{
+ // brep types
+ //
+ enum class page_form
+ {
+ full,
+ brief
+ };
+
+ struct page_menu
+ {
+ string label;
+ string link;
+
+ page_menu () = default;
+ page_menu (string b, string l): label (move (b)), link (move (l)) {}
+ };
+
+}
+
+#endif // MOD_OPTIONS_TYPES