comparison src/constants.h @ 44:73e6b6b12412

(issue 1,2) Make the column used for the Timestamp value configurable If the column contains a number it is interpreted as seconds since epoch. Otherwise its a verbatim copy of the column string.
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 06 May 2015 19:45:26 +0200
parents ae8e859de68e
children c4a5ef6db895
comparison
equal deleted inserted replaced
43:ee696abaab99 44:73e6b6b12412
82 82
83 /**@def The default sort order value. */ 83 /**@def The default sort order value. */
84 #define SORT_ORDER_VALUE true 84 #define SORT_ORDER_VALUE true
85 85
86 /**@def The column to use (counted from 0 and including index nr) for the filename */ 86 /**@def The column to use (counted from 0 and including index nr) for the filename */
87 #define FILENAME_COLUMN 1 87 #define FILENAME_COLUMN_IDX 1
88 88
89 /**@def The column to use as the date */ 89 /**@def The column to use as the timestamp in the player window */
90 #define DATE_COLUMN 2 90 #define DATE_COLUMN_KEY "DisplayDate"
91
92 /**@def The default value for the timestamp column */
93 #define DATE_COLUMN_DEFAULT "Date"
94
95 /**@def The fallback value in case the DisplayDate column can't be found */
96 #define DATE_COLUMN_FALLBACK_IDX 2
91 97
92 #endif // CONSTANTS_H 98 #endif // CONSTANTS_H
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)