ctools 2.1.0
Loading...
Searching...
No Matches
support.hpp
Go to the documentation of this file.
1/***************************************************************************
2 * support - support functions *
3 * ----------------------------------------------------------------------- *
4 * copyright (C) 2016-2019 by Juergen Knoedlseder *
5 * ----------------------------------------------------------------------- *
6 * *
7 * This program is free software: you can redistribute it and/or modify *
8 * it under the terms of the GNU General Public License as published by *
9 * the Free Software Foundation, either version 3 of the License, or *
10 * (at your option) any later version. *
11 * *
12 * This program is distributed in the hope that it will be useful, *
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15 * GNU General Public License for more details. *
16 * *
17 * You should have received a copy of the GNU General Public License *
18 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
19 * *
20 ***************************************************************************/
21/**
22 * @file support.hpp
23 * @brief Support function definitions
24 * @author Juergen Knoedlseder
25 */
26
27#ifndef SUPPORT_HPP
28#define SUPPORT_HPP
29
30/* __ Includes ___________________________________________________________ */
31#include "ctool.hpp"
32
33/* __ Definitions ________________________________________________________ */
34
35/* __ Prototypes _________________________________________________________ */
36int execute_ctool(ctool* tool);
37void report_ctool_failure(const std::string& name, const std::string& message);
38
39#endif /* SUPPORT_HPP */
Base class for ctools.
Definition ctool.hpp:50
ctool base class implementation
void report_ctool_failure(const std::string &name, const std::string &message)
Report ctool failure.
Definition support.cpp:106
int execute_ctool(ctool *tool)
Execute ctool.
Definition support.cpp:58