diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-02-25 17:49:47 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-02-25 17:49:47 (GMT) |
commit | ba755dd4450d68ee0d47f6d465927b63e6dc3093 (patch) | |
tree | 0673a1c66696ceb0da0191a0e834b85eef8c50a2 /src/config.l | |
parent | d27070014e0f36246e7eec3899c7d55503b1a05a (diff) | |
download | Doxygen-ba755dd4450d68ee0d47f6d465927b63e6dc3093.zip Doxygen-ba755dd4450d68ee0d47f6d465927b63e6dc3093.tar.gz Doxygen-ba755dd4450d68ee0d47f6d465927b63e6dc3093.tar.bz2 |
Release-1.2.5-20010225
Diffstat (limited to 'src/config.l')
-rw-r--r-- | src/config.l | 61 |
1 files changed, 60 insertions, 1 deletions
diff --git a/src/config.l b/src/config.l index 7221429..e06d867 100644 --- a/src/config.l +++ b/src/config.l @@ -1,4 +1,4 @@ -/* This file was generated by configgen on Thu Feb 8 22:26:39 2001 +/* This file was generated by configgen on Sun Feb 25 14:30:18 2001 * from config_templ.l * * DO NOT EDIT! @@ -106,9 +106,11 @@ int Config::tabSize = 8; QStrList Config::sectionFilterList; bool Config::generateTodoList = TRUE; bool Config::generateTestList = TRUE; +bool Config::generateBugList = TRUE; QStrList Config::aliasList; int Config::maxInitLines = 30; bool Config::optimizeForCFlag = FALSE; +bool Config::showUsedFilesFlag = TRUE; bool Config::quietFlag = FALSE; bool Config::warningFlag = TRUE; bool Config::warningUndocFlag = TRUE; @@ -135,6 +137,8 @@ QCString Config::htmlStyleSheet; bool Config::htmlAlignMemberFlag = TRUE; bool Config::htmlHelpFlag = FALSE; bool Config::htmlHelpChiFlag = FALSE; +bool Config::htmlHelpTocFlag = FALSE; +bool Config::htmlHelpTocExpandFlag = FALSE; bool Config::noIndexFlag = FALSE; int Config::enumValuesPerLine = 4; bool Config::ftvHelpFlag = FALSE; @@ -381,10 +385,12 @@ static void readIncludeFile(const char *incName) <Start>"ENABLED_SECTIONS"[ \t]*"+=" { BEGIN(GetStrList); l=&Config::sectionFilterList; elemStr=""; } <Start>"GENERATE_TODOLIST"[ \t]*"=" { BEGIN(GetBool); b=&Config::generateTodoList; } <Start>"GENERATE_TESTLIST"[ \t]*"=" { BEGIN(GetBool); b=&Config::generateTestList; } +<Start>"GENERATE_BUGLIST"[ \t]*"=" { BEGIN(GetBool); b=&Config::generateBugList; } <Start>"ALIASES"[ \t]*"=" { BEGIN(GetStrList); l=&Config::aliasList; l->clear(); elemStr=""; } <Start>"ALIASES"[ \t]*"+=" { BEGIN(GetStrList); l=&Config::aliasList; elemStr=""; } <Start>"MAX_INITIALIZER_LINES"[ \t]*"=" { BEGIN(GetString); s=&maxInitLinesString; s->resize(0); } <Start>"OPTIMIZE_OUTPUT_FOR_C"[ \t]*"=" { BEGIN(GetBool); b=&Config::optimizeForCFlag; } +<Start>"SHOW_USED_FILES"[ \t]*"=" { BEGIN(GetBool); b=&Config::showUsedFilesFlag; } <Start>"QUIET"[ \t]*"=" { BEGIN(GetBool); b=&Config::quietFlag; } <Start>"WARNINGS"[ \t]*"=" { BEGIN(GetBool); b=&Config::warningFlag; } <Start>"WARN_IF_UNDOCUMENTED"[ \t]*"=" { BEGIN(GetBool); b=&Config::warningUndocFlag; } @@ -419,6 +425,8 @@ static void readIncludeFile(const char *incName) <Start>"HTML_ALIGN_MEMBERS"[ \t]*"=" { BEGIN(GetBool); b=&Config::htmlAlignMemberFlag; } <Start>"GENERATE_HTMLHELP"[ \t]*"=" { BEGIN(GetBool); b=&Config::htmlHelpFlag; } <Start>"GENERATE_CHI"[ \t]*"=" { BEGIN(GetBool); b=&Config::htmlHelpChiFlag; } +<Start>"BINARY_TOC"[ \t]*"=" { BEGIN(GetBool); b=&Config::htmlHelpTocFlag; } +<Start>"TOC_EXPAND"[ \t]*"=" { BEGIN(GetBool); b=&Config::htmlHelpTocExpandFlag; } <Start>"DISABLE_INDEX"[ \t]*"=" { BEGIN(GetBool); b=&Config::noIndexFlag; } <Start>"ENUM_VALUES_PER_LINE"[ \t]*"=" { BEGIN(GetString); s=&enumValuesPerLineString; s->resize(0); } <Start>"GENERATE_TREEVIEW"[ \t]*"=" { BEGIN(GetBool); b=&Config::ftvHelpFlag; } @@ -627,6 +635,7 @@ void dumpConfig() } printf("generateTodoList=`%d'\n",Config::generateTodoList); printf("generateTestList=`%d'\n",Config::generateTestList); + printf("generateBugList=`%d'\n",Config::generateBugList); { char *is=Config::aliasList.first(); while (is) @@ -637,6 +646,7 @@ void dumpConfig() } printf("maxInitLines=`%d'\n",Config::maxInitLines); printf("optimizeForCFlag=`%d'\n",Config::optimizeForCFlag); + printf("showUsedFilesFlag=`%d'\n",Config::showUsedFilesFlag); printf("# configuration options related to warning and progress messages\n"); printf("quietFlag=`%d'\n",Config::quietFlag); printf("warningFlag=`%d'\n",Config::warningFlag); @@ -723,6 +733,8 @@ void dumpConfig() printf("htmlAlignMemberFlag=`%d'\n",Config::htmlAlignMemberFlag); printf("htmlHelpFlag=`%d'\n",Config::htmlHelpFlag); printf("htmlHelpChiFlag=`%d'\n",Config::htmlHelpChiFlag); + printf("htmlHelpTocFlag=`%d'\n",Config::htmlHelpTocFlag); + printf("htmlHelpTocExpandFlag=`%d'\n",Config::htmlHelpTocExpandFlag); printf("noIndexFlag=`%d'\n",Config::noIndexFlag); printf("enumValuesPerLine=`%d'\n",Config::enumValuesPerLine); printf("ftvHelpFlag=`%d'\n",Config::ftvHelpFlag); @@ -866,9 +878,11 @@ void Config::init() Config::sectionFilterList.clear(); Config::generateTodoList = TRUE; Config::generateTestList = TRUE; + Config::generateBugList = TRUE; Config::aliasList.clear(); Config::maxInitLines = 30; Config::optimizeForCFlag = FALSE; + Config::showUsedFilesFlag = TRUE; Config::quietFlag = FALSE; Config::warningFlag = TRUE; Config::warningUndocFlag = TRUE; @@ -895,6 +909,8 @@ void Config::init() Config::htmlAlignMemberFlag = TRUE; Config::htmlHelpFlag = FALSE; Config::htmlHelpChiFlag = FALSE; + Config::htmlHelpTocFlag = FALSE; + Config::htmlHelpTocExpandFlag = FALSE; Config::noIndexFlag = FALSE; Config::enumValuesPerLine = 4; Config::ftvHelpFlag = FALSE; @@ -1383,6 +1399,17 @@ void writeTemplateConfig(QFile *f,bool sl) if (!sl) { t << "\n"; + t << "# The GENERATE_BUGLIST tag can be used to enable (YES) or \n"; + t << "# disable (NO) the bug list. This list is created by putting \\bug \n"; + t << "# commands in the documentation.\n"; + t << "\n"; + } + t << "GENERATE_BUGLIST = "; + writeBoolValue(t,Config::generateBugList); + t << "\n"; + if (!sl) + { + t << "\n"; t << "# This tag can be used to specify a number of aliases that acts \n"; t << "# as commands in the documentation. An alias has the form \"name=value\". \n"; t << "# For example adding \"sideeffect=\\par Side Effects:\\n\" will allow you to \n"; @@ -1424,6 +1451,17 @@ void writeTemplateConfig(QFile *f,bool sl) if (!sl) { t << "\n"; + t << "# Set the SHOW_USED_FILES tag to NO to disable the list of files generated \n"; + t << "# at the bottom of the documentation of classes and structs. If set to YES the \n"; + t << "# list will mention the files that were used to generate the documentation. \n"; + t << "\n"; + } + t << "SHOW_USED_FILES = "; + writeBoolValue(t,Config::showUsedFilesFlag); + t << "\n"; + if (!sl) + { + t << "\n"; } t << "#---------------------------------------------------------------------------\n"; t << "# configuration options related to warning and progress messages\n"; @@ -1746,6 +1784,27 @@ void writeTemplateConfig(QFile *f,bool sl) if (!sl) { t << "\n"; + t << "# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag \n"; + t << "# controls whether a binary table of contents is generated (YES) or a \n"; + t << "# normal table of contents (NO) in the .chm file.\n"; + t << "\n"; + } + t << "BINARY_TOC = "; + writeBoolValue(t,Config::htmlHelpTocFlag); + t << "\n"; + if (!sl) + { + t << "\n"; + t << "# The TOC_EXPAND flag can be set YES to add extra items for group members \n"; + t << "# to the contents of the Html help documentation and to the tree view. \n"; + t << "\n"; + } + t << "TOC_EXPAND = "; + writeBoolValue(t,Config::htmlHelpTocExpandFlag); + t << "\n"; + if (!sl) + { + t << "\n"; t << "# The DISABLE_INDEX tag can be used to turn on/off the condensed index at \n"; t << "# top of each HTML page. The value NO (the default) enables the index and \n"; t << "# the value YES disables it. \n"; |