diff options
Diffstat (limited to 'engines/sword25/kernel/log.h')
-rw-r--r-- | engines/sword25/kernel/log.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/engines/sword25/kernel/log.h b/engines/sword25/kernel/log.h index 1fe9ff4ed6..02cfa3ab81 100644 --- a/engines/sword25/kernel/log.h +++ b/engines/sword25/kernel/log.h @@ -76,18 +76,6 @@ public: _AutoNewline = AutoNewline; } - typedef void (*LOG_LISTENER_CALLBACK)(const char *); - static void RegisterLogListener(LOG_LISTENER_CALLBACK Callback) { - _LogListener.push_back(Callback); - } - static bool IsListenerRegistered(LOG_LISTENER_CALLBACK Callback) { - Common::Array<LOG_LISTENER_CALLBACK>::iterator i; - for (i = _LogListener.begin(); i != _LogListener.end(); ++i) { - if (**i == Callback) - return true; - } - return false; - } static void _CloseLog(); private: @@ -97,7 +85,6 @@ private: static const char *_File; static int _Line; static bool _AutoNewline; - static Common::Array<LOG_LISTENER_CALLBACK> _LogListener; static bool _CreateLog(); |