12 #include <mix/Types.h>
14 #include <mix/trans.h>
25 #define CHA_FORMAT "format"
26 #define CHA_FORMAT_ID "1.2"
29 #define CHC_COMMENT '#'
30 #define CHC_COMMAND '@'
31 #define CH_MAGIC "@help"
32 #define CH_VERSION "@version"
33 #define CH_TITLE "@title"
34 #define CH_SECTION "@section"
35 #define CH_LOCALREF "@localref"
36 #define CH_GLOBALREF "@globalref"
37 #define CH_INCLUDE "@include"
38 #define CH_EXECUTE "@execute"
105 ChDocument* chLoadProgramHelp (
const char* name,
const char* req_lang);
109 const char* name,
const char* req_lang);
112 void chProgramHelpLangs (
const char* name,
113 int* lang_n,
char*** langs);
121 const char* basedir,
const char* fname);
124 void chSaveHelpFile (
ChDocument* pDoc,
const char* path);
128 char* chParseLineFromHelpFile (
ChDocument* pDoc,
char* line,
137 ChDocument* chCreateDocument (
const char* name,
const char* title);
144 const char* label,
const char* title);
147 void chAddSectionText (
ChSection* pSection,
const char* text);
150 void chAddSectionRef (
ChSection* pSection, ChRefKind kind,
151 const char* link,
const char* title);