Webdar 1.0.1
Web user interface to libdar
html_comparison_fields.hpp
1/*********************************************************************/
2// webdar - a web server and interface program to libdar
3// Copyright (C) 2013-2026 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 HTML_COMPARISON_FIELDS_HPP
25#define HTML_COMPARISON_FIELDS_HPP
26
27 // C system header files
28#include "my_config.h"
29extern "C"
30{
31
32}
33
34 // C++ system header files
35#include <vector>
36#include <string>
37#include <dar/libdar.hpp>
38
39 // webdar headers
40#include "html_form_select.hpp"
41
43
45{
46public:
49 html_comparison_fields(html_comparison_fields && ref) noexcept = delete;
50 html_comparison_fields & operator = (const html_comparison_fields & ref) = delete;
51 html_comparison_fields & operator = (html_comparison_fields && ref) noexcept = delete;
52 ~html_comparison_fields() = default;
53
54 libdar::comparison_fields get_value() const;
55 void set_value(libdar::comparison_fields val);
56};
57
58
59
60
61#endif
html component in the form of a drop-down list to let the user define a libdar comparison field value
Definition: html_comparison_fields.hpp:45
class html_form_select implements HTML input of type "select"
Definition: html_form_select.hpp:53