summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-19 00:51:13 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-19 00:51:13 +0000
commit8cd26c0ff3ce079e1c8f6dbb8f0567706abc6284 (patch)
tree5e96d0c3ecbfe4ce88fe4aa5a1296606fe0b1de0 /include
parente3b9387237187f3e3e146c26eb8c390d7758e930 (diff)
Make it virtual, in case someone ever wants to make a derived version of it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4986 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 4783b2dc1..c4a58e90e 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -165,14 +165,14 @@ class FileLogger : public EventHandler
FileLogger(InspIRCd* Instance, FILE* logfile);
/** This returns false, logfiles are writeable.
*/
- bool Readable();
+ virtual bool Readable();
/** 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.
*/
- void HandleEvent(EventType et);
+ virtual void HandleEvent(EventType et);
/** Write one or more preformatted log lines.
* If the data cannot be written immediately,
* this class will insert itself into the
@@ -183,11 +183,11 @@ class FileLogger : public EventHandler
void WriteLogLine(const std::string &line);
/** Close the log file and cancel any events.
*/
- void Close();
+ virtual void Close();
/** Close the log file and cancel any events.
* (indirectly call Close()
*/
- ~FileLogger();
+ virtual ~FileLogger();
};
class XLineManager;