Mercurial > irccd
view irccdctl/command-server-invite.h @ 8:af9b35bf1585
CMake: add ZIP for package_source
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 10 Feb 2016 11:15:30 +0100 |
parents | 1158cffe5a5e |
children |
line wrap: on
line source
/* * command-server-invite.h -- implementation of irccdctl server-invite * * Copyright (c) 2013-2016 David Demelier <markand@malikania.fr> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #ifndef _IRCCDCTL_COMMAND_SERVER_INVITE_H_ #define _IRCCDCTL_COMMAND_SERVER_INVITE_H_ /** * @file command-server-invite.h * @brief Implementation of irccdctl server-invite. */ #include "command.h" namespace irccd { namespace command { /** * @class ServerInvite * @brief Implementation of irccdctl server-invite. */ class ServerInvite : public Command { public: /** * @copydoc Command::usage */ void usage(Irccdctl &irccdctl) const override; /** * @copydoc Command::exec */ void exec(Irccdctl &irccdctl, const std::vector<std::string> &args) const override; }; } // !command } // !irccd #endif // !_IRCCDCTL_COMMAND_SERVER_INVITE_H_