2 * @file DirViewColItems.h
4 * @brief Declaration file for DirColInfo
6 * @date Created: 2003-08-19
12 // DirViewColItems typedefs
13 typedef String (*ColGetFncPtrType)(const CDiffContext *, const void *);
14 typedef int (*ColSortFncPtrType)(const CDiffContext *, const void *, const void *);
18 * @brief Information about one column of dirview list info
22 LPCTSTR regName; /**< Internal name used for registry entries etc */
23 // localized string resources
24 int idName; /**< Displayed name, ID of string resource */
25 int idDesc; /**< Description, ID of string resource */
26 ColGetFncPtrType getfnc; /**< Handler giving display string */
27 ColSortFncPtrType sortfnc; /**< Handler for sorting this column */
29 int physicalIndex; /**< Current physical index, -1 if not displayed */
30 bool defSortUp; /**< Does column start with ascending sort (most do) */
31 int alignment; /**< Column alignment */
34 extern const int g_ncols;
35 extern const int g_ncols3;