summaryrefslogtreecommitdiffstats
path: root/src/CommandOutput.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-02-05 22:45:45 +0100
committerLogicParrot <LogicParrot@users.noreply.github.com>2016-02-05 22:50:18 +0100
commitca6ef58b1ee8521e4b940ee4883dee714960e413 (patch)
tree8532add455224b07c07a759e3d906f50c0695888 /src/CommandOutput.h
parentMerge pull request #2972 from marvinkopf/PlayerAutoComplete (diff)
downloadcuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar
cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar.gz
cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar.bz2
cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar.lz
cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar.xz
cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.tar.zst
cuberite-ca6ef58b1ee8521e4b940ee4883dee714960e413.zip
Diffstat (limited to 'src/CommandOutput.h')
-rw-r--r--src/CommandOutput.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/CommandOutput.h b/src/CommandOutput.h
index 0c9641cde..c9aa053c0 100644
--- a/src/CommandOutput.h
+++ b/src/CommandOutput.h
@@ -14,13 +14,13 @@ class cCommandOutputCallback
{
public:
virtual ~cCommandOutputCallback() {} // Force a virtual destructor in subclasses
-
+
/** Syntax sugar function, calls Out() with Printf()-ed parameters; appends a newline" */
void Out(const char * a_Fmt, ...) FORMATSTRING(2, 3);
-
+
/** Called when the command wants to output anything; may be called multiple times */
virtual void Out(const AString & a_Text) = 0;
-
+
/** Called when the command processing has been finished */
virtual void Finished(void) {}
} ;
@@ -87,7 +87,7 @@ class cLogCommandDeleteSelfOutputCallback :
public cLogCommandOutputCallback
{
typedef cLogCommandOutputCallback super;
-
+
virtual void Finished(void) override
{
super::Finished();