summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-04-08 19:19:32 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-04-08 19:19:32 (GMT)
commitc08484819f37862c753a193092326cb16e1a89fa (patch)
tree120d3069adfaa3da505045185569c8c67554d055 /src/config.h
parent790edce05edc348b237258995816da1708d67a73 (diff)
downloadDoxygen-c08484819f37862c753a193092326cb16e1a89fa.zip
Doxygen-c08484819f37862c753a193092326cb16e1a89fa.tar.gz
Doxygen-c08484819f37862c753a193092326cb16e1a89fa.tar.bz2
Doxygen-1.2.6-20010408
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/config.h b/src/config.h
index b67b97c..9d5bbf3 100644
--- a/src/config.h
+++ b/src/config.h
@@ -327,6 +327,12 @@ class ConfigBool : public ConfigOption
bool m_defValue;
};
+#define Config_getString(val) Config::instance()->getString(__FILE__,__LINE__,val)
+#define Config_getInt(val) Config::instance()->getInt(__FILE__,__LINE__,val)
+#define Config_getList(val) Config::instance()->getList(__FILE__,__LINE__,val)
+#define Config_getEnum(val) Config::instance()->getEnum(__FILE__,__LINE__,val)
+#define Config_getBool(val) Config::instance()->getBool(__FILE__,__LINE__,val)
+
/*! \brief Singleton for configuration variables.
*
* This object holds the global static variables
@@ -357,11 +363,11 @@ struct Config
////////////////////////
// get functions
////////////////////////
- QCString &getString(const char *name) const;
- QStrList &getList(const char *name) const;
- QCString &getEnum(const char *name) const;
- int &getInt(const char *name) const;
- bool &getBool(const char *name) const;
+ QCString &getString(const char *fileName,int num,const char *name) const;
+ QStrList &getList(const char *fileName,int num,const char *name) const;
+ QCString &getEnum(const char *fileName,int num,const char *name) const;
+ int &getInt(const char *fileName,int num,const char *name) const;
+ bool &getBool(const char *fileName,int num,const char *name) const;
ConfigOption *get(const char *name) const
{
return m_dict->find(name);