summaryrefslogtreecommitdiff
path: root/include/ctables.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ctables.h')
-rw-r--r--include/ctables.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/ctables.h b/include/ctables.h
index a3fcdfbd4..22c0ef67e 100644
--- a/include/ctables.h
+++ b/include/ctables.h
@@ -236,6 +236,18 @@ class CoreExport Command : public CommandBase
/** Registers this command with the command parser. */
void RegisterService() CXX11_OVERRIDE;
+
+ /** Tells the user they did not specify enough parameters.
+ * @param user The user who issued the command.
+ * @param parameters The parameters for the command.
+ */
+ virtual void TellNotEnoughParameters(LocalUser* user, const Params& parameters);
+
+ /** Tells the user they need to be registered to execute this command.
+ * @param user The user who issued the command.
+ * @param parameters The parameters for the command.
+ */
+ virtual void TellNotRegistered(LocalUser* user, const Params& parameters);
};
class CoreExport SplitCommand : public Command