diff src/constants.h @ 28:4e16fbd10945

(issue3-5) Make the default sort order configurable
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 05 May 2015 18:46:35 +0200
parents 64a51a42c01f
children 749ecdfd036a
line wrap: on
line diff
--- a/src/constants.h	Tue May 05 18:45:49 2015 +0200
+++ b/src/constants.h	Tue May 05 18:46:35 2015 +0200
@@ -32,7 +32,7 @@
 #define DESCRIPTION "A tool to replay recorded user sessions."
 
 /**@def Short copyright notice to show users. */
-#define COPYRIGHT "Copyright (C) 2015 Intevation GmbH \n\n" \
+#define COPYRIGHT "Copyright (C) 2015 ETH Zürich \n\n" \
                   "This file is Free Software under the GNU GPL (v>=2)\n" \
                   "and comes with ABSOLUTELY NO WARRANTY!\n"
 
@@ -70,4 +70,16 @@
 /**@def The seperator used in the patterns. */
 #define PATTERN_SEPERATOR "_"
 
+/**@def The default sort column */
+#define SORT_COLUMN_KEY "Sort"
+
+/**@def The default value for the sort column */
+#define SORT_COLUMN_DEFAULT "Date"
+
+/**@def The default sort order (boolean) */
+#define SORT_ORDER_KEY "SortAscending"
+
+/**@def The default sort order value. */
+#define SORT_ORDER_VALUE true
+
 #endif // CONSTANTS_H
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)