irccd
3.0.3
js
directory_api.hpp
1
/*
2
* directory_api.hpp -- Irccd.Directory API
3
*
4
* Copyright (c) 2013-2019 David Demelier <markand@malikania.fr>
5
*
6
* Permission to use, copy, modify, and/or distribute this software for any
7
* purpose with or without fee is hereby granted, provided that the above
8
* copyright notice and this permission notice appear in all copies.
9
*
10
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17
*/
18
19
#ifndef IRCCD_JS_DIRECTORY_API_HPP
20
#define IRCCD_JS_DIRECTORY_API_HPP
21
27
#include "api.hpp"
28
29
namespace
irccd::js
{
30
35
class
directory_api
:
public
api
{
36
public
:
40
auto
get_name
() const noexcept ->
std
::string_view override;
41
45
void
load
(daemon::bot& bot, js::
plugin
&
plugin
) override;
46
};
47
48
}
// !irccd::js
49
50
#endif // !IRCCD_JS_DIRECTORY_API_HPP
irccd::js
Javascript namespace.
Definition:
api.hpp:42
irccd::js::plugin
Javascript plugins for irccd.
Definition:
plugin.hpp:44
irccd::js::directory_api
Irccd.Directory Javascript API.
Definition:
directory_api.hpp:35
irccd::js::api
Javascript API module.
Definition:
api.hpp:51
std
Definition:
bot.hpp:253
irccd::js::directory_api::load
void load(daemon::bot &bot, js::plugin &plugin) override
irccd::js::directory_api::get_name
auto get_name() const noexcept -> std::string_view override
Generated by
1.8.18