From 1eddb7418013e8405f6ff4834eb64396f3a29ff3 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Wed, 5 Dec 2018 12:00:13 +0100 Subject: Add builtins::version, ::build and ::help --- src/builtins.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/builtins.h (limited to 'src/builtins.h') diff --git a/src/builtins.h b/src/builtins.h new file mode 100644 index 0000000..6c7153c --- /dev/null +++ b/src/builtins.h @@ -0,0 +1,25 @@ +/* + * This file is part of smolbote. It's copyrighted by the contributors recorded + * in the version control history of the file, available from its original + * location: https://neueland.iserlohn-fortress.net/gitea/aqua/smolbote + * + * SPDX-License-Identifier: GPL-3.0 + */ + +#ifndef SMOLBOTE_BUILTINS_H +#define SMOLBOTE_BUILTINS_H + +#include +#include + +namespace builtins +{ +int version(); +int build(); +int help(const char *cmd, + boost::program_options::options_description cmd_opts, + boost::program_options::options_description config_opts, + CommandHash_t pluginCommands); +} + +#endif -- cgit v1.2.1