Program now takes options instead of hardcoded inputs
[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 const char* GENERATED_IN = "Generated in (s): ";
10 const char* VISUALIZE_TREE = "Document tree: ";
11 const char* PROGRAM_ARGS = " -i <inputdir> -o <outputdir> -t <templatedir>";
12 const char* OUTPUT_IN = "Output in: ";
13 const char* PROGRAM_USAGE = "Usage: ";
14 const char* PROGRAM_EXPLANATION = "Where \n \
15 \t<inputdir> - source directory tree with markdown sources\n \
16 \t<outputdir> - destination in which to create the HTML output\n \
17 \t<templatedir> - directory containing the templates\n \
18 NOTE: directory argument need not terminate with the separator (/)";
19
20 // NAMED INDEX FOR DOCUMENT STRING BITS (LOADED FROM TEMPLATE FILE stringbits.txt)
21 const unsigned int HOME = 0;
22 const unsigned int ARTICLES_LIST = 1;
23 const unsigned int INDEX = 2;
24 const unsigned int NAVIGATION = 3;
25 const unsigned int SUB_CAT = 4;
26 const unsigned int GO_UP = 5;
27 }
28
29 #endif