diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-12-05 12:00:13 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-12-05 12:00:13 +0100 |
commit | 1eddb7418013e8405f6ff4834eb64396f3a29ff3 (patch) | |
tree | 75a72ffb99f84677fa1ffb4c8cc641f1826bdd8b /src/builtins.h | |
parent | Update .desktop and .profile (diff) | |
download | smolbote-1eddb7418013e8405f6ff4834eb64396f3a29ff3.tar.xz |
Add builtins::version, ::build and ::help
Diffstat (limited to 'src/builtins.h')
-rw-r--r-- | src/builtins.h | 25 |
1 files changed, 25 insertions, 0 deletions
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 <boost/program_options.hpp> +#include <plugininterface.h> + +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 |