Webdar 1.0.0
Web user interface to libdar
bibliotheque_subconfig.hpp
1/*********************************************************************/
2// webdar - a web server and interface program to libdar
3// Copyright (C) 2013-2025 Denis Corbin
4//
5// This file is part of Webdar
6//
7// Webdar 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// Webdar 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 Webdar. If not, see <http://www.gnu.org/licenses/>
19//
20//----
21// to contact the author: dar.linux@free.fr
22/*********************************************************************/
23
24#ifndef BIBLIOTHEQUE_SUBCONFIG_HPP
25#define BIBLIOTHEQUE_SUBCONFIG_HPP
26
27#include "my_config.h"
28
29 // C system header files
30extern "C"
31{
32
33}
34
35 // C++ system header files
36
37
38 // webdar headers
39#include "bibliotheque.hpp"
40
42
48
50{
51public:
52
55
56protected:
57
59 static void subconfig_add_to(bibliotheque::using_set & added_to, const bibliotheque::using_set & to_add);
60};
61
62#endif
defines bibliotheque class
class bibliotheque_subconfig is an interface (pure virtual class)
Definition: bibliotheque_subconfig.hpp:50
virtual bibliotheque::using_set get_using_set() const =0
provide a standard mean for an object to tell its configuration relies on other configuration(s)
static void subconfig_add_to(bibliotheque::using_set &added_to, const bibliotheque::using_set &to_add)
helper routing for objects of inheriting of that class
Definition: bibliotheque_subconfig.cpp:43
std::set< coordinates > using_set
list of configs a given config depends on
Definition: bibliotheque.hpp:117