comparison irccdctl/cli-server-join.hpp @ 329:bc7f65897762

Irccdctl: bring back server-join
author David Demelier <markand@malikania.fr>
date Tue, 08 Nov 2016 13:10:46 +0100
parents
children
comparison
equal deleted inserted replaced
328:b9cb459bf93a 329:bc7f65897762
1 /*
2 * cli-server-join.hpp -- implementation of irccdctl server-join
3 *
4 * Copyright (c) 2013-2016 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 IRCCDCTL_CLI_SERVER_JOIN_HPP
20 #define IRCCDCTL_CLI_SERVER_JOIN_HPP
21
22 /**
23 * \file cli-server-join.hpp
24 * \brief Implementation of irccdctl server-join.
25 */
26
27 #include "cli.hpp"
28
29 namespace irccd {
30
31 namespace cli {
32
33 /**
34 * \brief Implementation of irccdctl server-join.
35 */
36 class ServerJoinCli : public Cli {
37 public:
38 /**
39 * Default constructor.
40 */
41 ServerJoinCli();
42
43 /**
44 * \copydoc Cli::exec
45 */
46 void exec(Irccdctl &irccdctl, const std::vector<std::string> &args) override;
47 };
48
49 } // !command
50
51 } // !irccd
52
53 #endif // !IRCCDCTL_CLI_SERVER_JOIN_HPP