summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 311bfb8..ea8fdad 100644
--- a/src/config.h
+++ b/src/config.h
@@ -50,6 +50,7 @@ class ConfigOption
QCString dependsOn() const { return m_dependency; }
void addDependency(const char *dep) { m_dependency = dep; }
+ void setEncoding(const QCString &e) { m_encoding = e; }
protected:
virtual void writeTemplate(QTextStream &t,bool sl,bool upd) = 0;
@@ -67,6 +68,7 @@ class ConfigOption
QCString m_name;
QCString m_doc;
QCString m_dependency;
+ QCString m_encoding;
OptionType m_kind;
};
@@ -357,6 +359,7 @@ class Config
static void deleteInstance()
{
delete m_instance;
+ m_instance=0;
}
/*! Returns an iterator that can by used to iterate over the