Separated the strings used for document tree generation from code
[biaweb2.git] / biawebstrings.hpp
1 #ifndef __BIAWEBSTRINGS__
2 #define __BIAWEBSTRINGS__
3
4 namespace biaweb {
5 // COMMON APPLICATION STRINGS
6 const char* WARNING_PARSE_FAILED = "Warning: date parse failed on " ;
7 const char* NO_SUCH_PATH_ERROR = "No such path! Specify an existing file path" ;
8 const char* DATE_IN_FORMAT = "%Y-%m-%d %H:%M %Z";
9
10 // NAMED INDEX FOR DOCUMENT STRING BITS (LOADED FROM TEMPLATE FILE stringbits.txt)
11 const unsigned int HOME = 0;
12 const unsigned int ARTICLES_LIST = 1;
13 const unsigned int INDEX = 2;
14 const unsigned int NAVIGATION = 3;
15 const unsigned int SUB_CAT = 4;
16 const unsigned int GO_UP = 5;
17 }
18
19 #endif