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.h | |
| 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.h')
| -rw-r--r-- | lib/base/eerror.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/base/eerror.h b/lib/base/eerror.h index bf913959..476029c7 100644 --- a/lib/base/eerror.h +++ b/lib/base/eerror.h @@ -9,12 +9,12 @@ void eFatal(const char* fmt, ...); -class eString; - enum { lvlDebug=1, lvlWarning=2, lvlFatal=4 }; -extern Signal2<void, int, const eString&> logOutput; +#ifndef SWIG +extern Signal2<void, int, const std::string&> logOutput; extern int logOutputConsole; +#endif #ifdef ASSERT #undef ASSERT @@ -24,7 +24,9 @@ extern int logOutputConsole; void eDebug(const char* fmt, ...); void eDebugNoNewLine(const char* fmt, ...); void eWarning(const char* fmt, ...); +#ifndef SWIG #define ASSERT(x) { if (!(x)) eFatal("%s:%d ASSERTION %s FAILED!", __FILE__, __LINE__, #x); } +#endif #else inline void eDebug(const char* fmt, ...) { |
