andre@0: #ifndef CONSTANTS_H andre@0: #define CONSTANTS_H andre@25: /* Copyright (C) 2015 by ETH Zürich andre@25: * Software engineering by Intevation GmbH andre@0: * andre@0: * This file is Free Software under the GNU GPL (v>=2) andre@0: * and comes with ABSOLUTELY NO WARRANTY! andre@0: * See LICENSE.txt for details. andre@0: */ andre@0: andre@0: /** @file Common definitions for this project. andre@0: * andre@0: * This file can be included to pull in common andre@0: * definitions in the application. */ andre@0: andre@0: /**@def The version of the software package. */ andre@0: #ifndef VERSION andre@0: #define VERSION "0.0.1" andre@0: #endif andre@0: andre@0: /**@def The user visible application name. */ andre@0: #ifndef APPNAME andre@0: #define APPNAME "undefined" andre@0: #endif andre@0: andre@0: /**@def Short command line description. */ andre@0: #define DESCRIPTION "A tool to replay recorded user sessions." andre@0: andre@0: /**@def Short copyright notice to show users. */ andre@28: #define COPYRIGHT "Copyright (C) 2015 ETH Zürich \n\n" \ andre@0: "This file is Free Software under the GNU GPL (v>=2)\n" \ andre@0: "and comes with ABSOLUTELY NO WARRANTY!\n" andre@0: andre@0: /**@def the config key for the last selected root folder. */ andre@0: #define ROOT_FOLDER_KEY "RootFolder" andre@0: andre@0: /**@def the config key for the root folder info pattern. */ andre@0: #define ROOT_FOLDER_PATTERN_KEY "RootFolderPattern" andre@0: andre@0: /**@def the default value for the root folder pattern */ andre@0: #define DEFAULT_ROOT_PATTERN "Datum_Fachnummr_Batch-Nr." andre@0: andre@0: /**@def the config key for the last selected subfolder. */ andre@0: #define SUB_FOLDER_KEY "SubFolder" andre@0: andre@0: /**@def the config key for the sub folder info pattern. */ andre@0: #define SUB_FOLDER_PATTERN_KEY "SubFolderPattern" andre@0: andre@11: /**@def the default value for the sub folder pattern */ andre@11: //#define SUB_FOLDER_PATTERN "IP-Addr_Nethz-Login" andre@11: #define SUB_FOLDER_PATTERN "IP-Addr" andre@0: andre@3: /**@def how to format a timestamp */ andre@3: #define LONG_DATE_FORMAT "dd.MM.yyyy, hh:mm:ss.zzz" andre@3: andre@3: /**@def the config key for the replay speed */ andre@5: #define REPLAY_SPEED_KEY "Speed" andre@3: andre@5: /**@def the default value for the replay speed in REPLAY_SPEED_STEP_MS steps */ andre@5: #define REPLAY_SPEED_DEFAULT 5 andre@5: andre@5: /**@def the value for a step in the speed slider */ andre@5: #define REPLAY_SPEED_STEP_MS 500 andre@3: andre@9: /**@def The seperator used in the patterns. */ andre@9: #define PATTERN_SEPERATOR "_" andre@9: andre@28: /**@def The default sort column */ andre@28: #define SORT_COLUMN_KEY "Sort" andre@28: andre@28: /**@def The default value for the sort column */ andre@28: #define SORT_COLUMN_DEFAULT "Date" andre@28: andre@28: /**@def The default sort order (boolean) */ andre@28: #define SORT_ORDER_KEY "SortAscending" andre@28: andre@28: /**@def The default sort order value. */ andre@28: #define SORT_ORDER_VALUE true andre@28: andre@0: #endif // CONSTANTS_H