summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-11-23 12:50:35 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-11-23 12:50:35 +0100
commit42de16029da37f08ce1827352aa78b4b29d888cb (patch)
treeb8f61d0a518df5d480285d4d6c16250921cdf42e /include
parent820f229a9efe2678d1e85578aa086a1efdd73a30 (diff)
Implement Command::RegisterService()
Diffstat (limited to 'include')
-rw-r--r--include/ctables.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ctables.h b/include/ctables.h
index abf65f561..bc4226ea9 100644
--- a/include/ctables.h
+++ b/include/ctables.h
@@ -218,6 +218,10 @@ class CoreExport Command : public CommandBase
*/
virtual CmdResult Handle(const std::vector<std::string>& parameters, User* user) = 0;
+ /** Register this object in the CommandParser
+ */
+ void RegisterService() CXX11_OVERRIDE;
+
/** Destructor
* Removes this command from the command parser
*/