summaryrefslogtreecommitdiffstats
path: root/stats/statsselection.h
diff options
context:
space:
mode:
Diffstat (limited to 'stats/statsselection.h')
-rw-r--r--stats/statsselection.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/stats/statsselection.h b/stats/statsselection.h
new file mode 100644
index 000000000..e3f590466
--- /dev/null
+++ b/stats/statsselection.h
@@ -0,0 +1,15 @@
+// SPDX-License-Identifier: GPL-2.0
+// Functions and data structures handling dive selections.
+
+#ifndef STATS_SELECTION_H
+#define STATS_SELECTION_H
+
+struct SelectionModifier {
+ unsigned int ctrl : 1;
+ unsigned int shift : 1;
+ // Note: default member initializers for bit-fields becomes available with C++20.
+ // Therefore, for now an inline constructor.
+ SelectionModifier() : ctrl(0), shift(0) {}
+};
+
+#endif