summaryrefslogtreecommitdiffstats
path: root/src/message.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-04-08 19:19:32 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-04-08 19:19:32 (GMT)
commit8f195c2d389edeeaf0f76de36c5b5db788b6e312 (patch)
tree120d3069adfaa3da505045185569c8c67554d055 /src/message.cpp
parentc47269c4f1fb1387d6876075f3b2e935354d5b76 (diff)
downloadDoxygen-8f195c2d389edeeaf0f76de36c5b5db788b6e312.zip
Doxygen-8f195c2d389edeeaf0f76de36c5b5db788b6e312.tar.gz
Doxygen-8f195c2d389edeeaf0f76de36c5b5db788b6e312.tar.bz2
Doxygen-1.2.6-20010408
Diffstat (limited to 'src/message.cpp')
-rw-r--r--src/message.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/message.cpp b/src/message.cpp
index 29f4d31..5c9e783 100644
--- a/src/message.cpp
+++ b/src/message.cpp
@@ -32,9 +32,9 @@ static FILE *warnFile = stderr;
void initWarningFormat()
{
- int filePos = Config::instance()->getString("WARN_FORMAT").find("$file");
- int linePos = Config::instance()->getString("WARN_FORMAT").find("$line");
- int textPos = Config::instance()->getString("WARN_FORMAT").find("$text");
+ int filePos = Config_getString("WARN_FORMAT").find("$file");
+ int linePos = Config_getString("WARN_FORMAT").find("$line");
+ int textPos = Config_getString("WARN_FORMAT").find("$text");
// sort items on position (there are 6 cases)
warnFormatOrder = 1;
@@ -68,7 +68,7 @@ void initWarningFormat()
substitute(
substitute(
substitute(
- Config::instance()->getString("WARN_FORMAT"),
+ Config_getString("WARN_FORMAT"),
"$file","%s"
),
"$text","%s"
@@ -81,16 +81,16 @@ void initWarningFormat()
// replace(QRegExp("\\$line"),"%d")+
// '\n';
- if (!Config::instance()->getString("WARN_LOGFILE").isEmpty())
+ if (!Config_getString("WARN_LOGFILE").isEmpty())
{
- warnFile = fopen(Config::instance()->getString("WARN_LOGFILE"),"w");
+ warnFile = fopen(Config_getString("WARN_LOGFILE"),"w");
}
}
void msg(const char *fmt, ...)
{
- if (!Config::instance()->getBool("QUIET"))
+ if (!Config_getBool("QUIET"))
{
va_list args;
va_start(args, fmt);
@@ -101,7 +101,7 @@ void msg(const char *fmt, ...)
void warn(const char *file,int line,const char *fmt, ...)
{
- if (Config::instance()->getBool("WARNINGS"))
+ if (Config_getBool("WARNINGS"))
{
if (file==0) file="<unknown>";
char text[4096];
@@ -125,7 +125,7 @@ void warn(const char *file,int line,const char *fmt, ...)
void warn_cont(const char *fmt, ...)
{
- if (Config::instance()->getBool("WARNINGS"))
+ if (Config_getBool("WARNINGS"))
{
va_list args;
va_start(args, fmt);
@@ -136,7 +136,7 @@ void warn_cont(const char *fmt, ...)
void warn_undoc(const char *file,int line,const char *fmt, ...)
{
- if (Config::instance()->getBool("WARN_IF_UNDOCUMENTED"))
+ if (Config_getBool("WARN_IF_UNDOCUMENTED"))
{
if (file==0) file="<unknwon>";
char text[4096];