diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/logger.h | 14 | ||||
-rw-r--r-- | include/mode.h | 2 |
2 files changed, 2 insertions, 14 deletions
diff --git a/include/logger.h b/include/logger.h index e3b7ee0a5..f0cbe14d3 100644 --- a/include/logger.h +++ b/include/logger.h @@ -26,7 +26,7 @@ * I/O (linux seems to, as does freebsd) this will default to * blocking behaviour. */ -class CoreExport FileWriter : public EventHandler +class CoreExport FileWriter { protected: /** The log file (fd is inside this somewhere, @@ -43,14 +43,6 @@ class CoreExport FileWriter : public EventHandler */ FileWriter(FILE* logfile); - /** Handle pending write events. - * This will flush any waiting data to disk. - * If any data remains after the fprintf call, - * another write event is scheduled to write - * the rest of the data when possible. - */ - virtual void HandleEvent(EventType et, int errornum = 0); - /** Write one or more preformatted log lines. * If the data cannot be written immediately, * this class will insert itself into the @@ -62,10 +54,6 @@ class CoreExport FileWriter : public EventHandler /** Close the log file and cancel any events. */ - virtual void Close(); - - /** Close the log file and cancel any events. - */ virtual ~FileWriter(); }; diff --git a/include/mode.h b/include/mode.h index 76eeaba17..2fca1204d 100644 --- a/include/mode.h +++ b/include/mode.h @@ -425,7 +425,7 @@ typedef std::vector<ModeWatcher*>::iterator ModeWatchIter; * parses client to server MODE strings for user and channel modes, and performs * processing for the 004 mode list numeric, amongst other things. */ -class CoreExport ModeParser : public classbase +class CoreExport ModeParser { private: /** Mode handlers for each mode, to access a handler subtract |