diff src/constants.h @ 0:147b08bc7d64

Initial commit of a basic Application framework.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 23 Mar 2015 12:41:52 +0100
parents
children 248d5d1cdb38
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/constants.h	Mon Mar 23 12:41:52 2015 +0100
@@ -0,0 +1,56 @@
+#ifndef CONSTANTS_H
+#define CONSTANTS_H
+/* Copyright (C) 2014 by Intevation GmbH
+ *
+ * This file is Free Software under the GNU GPL (v>=2)
+ * and comes with ABSOLUTELY NO WARRANTY!
+ * See LICENSE.txt for details.
+ */
+
+/** @file Common definitions for this project.
+ *
+ * This file can be included to pull in common
+ * definitions in the application. */
+
+/**@def The version of the software package. */
+#ifndef VERSION
+#define VERSION "0.0.1"
+#endif
+
+/**@def The user visible application name. */
+#ifndef APPNAME
+#define APPNAME "undefined"
+#endif
+
+/**@def The user visible organization behind this. */
+#ifndef ORGANIZATION
+#define ORGANIZATION "Intevation GmbH"
+#endif
+
+/**@def Short command line description. */
+#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" \
+                  "This file is Free Software under the GNU GPL (v>=2)\n" \
+                  "and comes with ABSOLUTELY NO WARRANTY!\n"
+
+/**@def the config key for the last selected root folder. */
+#define ROOT_FOLDER_KEY "RootFolder"
+
+/**@def the config key for the root folder info pattern. */
+#define ROOT_FOLDER_PATTERN_KEY "RootFolderPattern"
+
+/**@def the default value for the root folder pattern */
+#define DEFAULT_ROOT_PATTERN "Datum_Fachnummr_Batch-Nr."
+
+/**@def the config key for the last selected subfolder. */
+#define SUB_FOLDER_KEY "SubFolder"
+
+/**@def the config key for the sub folder info pattern. */
+#define SUB_FOLDER_PATTERN_KEY "SubFolderPattern"
+
+/**@def the default value for the root folder pattern */
+#define SUB_FOLDER_PATTERN "IP-Addr_Nethz-Login"
+
+#endif // CONSTANTS_H
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)