diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2004-10-01 13:21:35 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2004-10-01 13:21:35 +0000 |
| commit | ddc3964ed95d01e72229dc9af968a327cd84e56c (patch) | |
| tree | 93e6694c639db3d188f5b2868f6b2b2951d21d60 /lib/base/eerror.cpp | |
| parent | 1aeefd997cc362c3b37c1587c5f08891b35c3a75 (diff) | |
| download | enigma2-ddc3964ed95d01e72229dc9af968a327cd84e56c.tar.gz enigma2-ddc3964ed95d01e72229dc9af968a327cd84e56c.zip | |
- add python, missing gui
- remove console (needs to be rewritten anyway)
- eString -> std::string
Diffstat (limited to 'lib/base/eerror.cpp')
| -rw-r--r-- | lib/base/eerror.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/base/eerror.cpp b/lib/base/eerror.cpp index 68541d41..11bb9943 100644 --- a/lib/base/eerror.cpp +++ b/lib/base/eerror.cpp @@ -4,13 +4,13 @@ #include <stdlib.h> #include <unistd.h> -#include <lib/base/estring.h> +#include <string> // #include <lib/gui/emessage.h> int infatal=0; -Signal2<void, int, const eString&> logOutput; +Signal2<void, int, const std::string&> logOutput; int logOutputConsole=1; void eFatal(const char* fmt, ...) @@ -43,7 +43,7 @@ void eDebug(const char* fmt, ...) va_start(ap, fmt); vsnprintf(buf, 1024, fmt, ap); va_end(ap); - logOutput(lvlDebug, eString(buf) + "\n"); + logOutput(lvlDebug, std::string(buf) + "\n"); if (logOutputConsole) fprintf(stderr, "%s\n", buf); } @@ -67,7 +67,7 @@ void eWarning(const char* fmt, ...) va_start(ap, fmt); vsnprintf(buf, 1024, fmt, ap); va_end(ap); - logOutput(lvlWarning, eString(buf) + "\n"); + logOutput(lvlWarning, std::string(buf) + "\n"); if (logOutputConsole) fprintf(stderr, "%s\n", buf); } |
