summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-06-17 19:53:53 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-06-17 19:53:53 (GMT)
commitd3c3bbd02543280d12a763d82aa5b54ce516c57f (patch)
treee215fcacfb74cc58f4d27e30b9722efd930d7a7a /src/config.h
parentf309c3c0e7c1cf29df6b850e19d647e93a30ce28 (diff)
downloadDoxygen-d3c3bbd02543280d12a763d82aa5b54ce516c57f.zip
Doxygen-d3c3bbd02543280d12a763d82aa5b54ce516c57f.tar.gz
Doxygen-d3c3bbd02543280d12a763d82aa5b54ce516c57f.tar.bz2
Release-1.3.7-20040617
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/config.h b/src/config.h
index 0201329..311bfb8 100644
--- a/src/config.h
+++ b/src/config.h
@@ -502,11 +502,11 @@ class Config
}
/*! @} */
- /*! Writes a template configuration file to \a f. If \a shortIndex
+ /*! Writes a template configuration to stream \a t. If \a shortIndex
* is \c TRUE the description of each configuration option will
* be omitted.
*/
- void writeTemplate(QFile *f,bool shortIndex,bool updateOnly);
+ void writeTemplate(QTextStream &t,bool shortIndex,bool updateOnly);
/////////////////////////////
// internal API
@@ -530,6 +530,12 @@ class Config
/*! Initialize config variables to their default value */
void init();
+ /*! Parse a configuration data in string \a str.
+ * \returns TRUE if successful, or FALSE if the string could not be
+ * parsed.
+ */
+ bool parseString(const char *fn,const char *str);
+
/*! Parse a configuration file with name \a fn.
* \returns TRUE if successful, FALSE if the file could not be
* opened or read.