summaryrefslogtreecommitdiffstats
path: root/src/CommandOutput.h
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2015-07-31 19:26:33 +0200
committerJulian Laubstein <julianlaubstein@yahoo.de>2015-07-31 19:26:33 +0200
commitd19cde93fa3344f318fb0d4ffbf5bb0397a51a75 (patch)
treeb5ee221d8a8e63c7d3b7868da1db19bf717a6ffd /src/CommandOutput.h
parentMerge pull request #2400 from cuberite/OffloadBadChunks (diff)
parentUnified the doxy-comment format. (diff)
downloadcuberite-d19cde93fa3344f318fb0d4ffbf5bb0397a51a75.tar
cuberite-d19cde93fa3344f318fb0d4ffbf5bb0397a51a75.tar.gz
cuberite-d19cde93fa3344f318fb0d4ffbf5bb0397a51a75.tar.bz2
cuberite-d19cde93fa3344f318fb0d4ffbf5bb0397a51a75.tar.lz
cuberite-d19cde93fa3344f318fb0d4ffbf5bb0397a51a75.tar.xz
cuberite-d19cde93fa3344f318fb0d4ffbf5bb0397a51a75.tar.zst
cuberite-d19cde93fa3344f318fb0d4ffbf5bb0397a51a75.zip
Diffstat (limited to 'src/CommandOutput.h')
-rw-r--r--src/CommandOutput.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/CommandOutput.h b/src/CommandOutput.h
index 6265b74ea..0c9641cde 100644
--- a/src/CommandOutput.h
+++ b/src/CommandOutput.h
@@ -9,20 +9,19 @@
/** Interface for a callback that receives command output
The Out() function is called for any output the command has produced.
-Descendants override that function to provide specific processing of the output.
-*/
+Descendants override that function to provide specific processing of the output. */
class cCommandOutputCallback
{
public:
virtual ~cCommandOutputCallback() {} // Force a virtual destructor in subclasses
- /// Syntax sugar function, calls Out() with Printf()-ed parameters; appends a newline"
+ /** 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
+ /** 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
+ /** Called when the command processing has been finished */
virtual void Finished(void) {}
} ;
@@ -30,7 +29,7 @@ public:
-/// Class that discards all command output
+/** Class that discards all command output */
class cNullCommandOutputCallback :
public cCommandOutputCallback
{
@@ -70,7 +69,7 @@ protected:
-/// Sends all command output to a log, line by line, when the command finishes processing
+/** Sends all command output to a log, line by line, when the command finishes processing */
class cLogCommandOutputCallback :
public cStringAccumCommandOutputCallback
{
@@ -83,7 +82,7 @@ public:
-/// Sends all command output to a log, line by line; deletes self when command finishes processing
+/** Sends all command output to a log, line by line; deletes self when command finishes processing */
class cLogCommandDeleteSelfOutputCallback :
public cLogCommandOutputCallback
{