24#ifndef HTML_OPTIONS_EXTRACT_HPP
25#define HTML_OPTIONS_EXTRACT_HPP
35#include <dar/libdar.hpp>
38#include "body_builder.hpp"
40#include "html_form_select.hpp"
41#include "html_form_input.hpp"
42#include "html_form.hpp"
43#include "html_form_fieldset.hpp"
44#include "html_derouleur.hpp"
45#include "html_mask_form_filename.hpp"
46#include "html_mask_form_path.hpp"
47#include "html_form_overwrite_action.hpp"
48#include "html_fsa_scope.hpp"
51#include "bibliotheque_subconfig.hpp"
63 static const std::string changed;
73 void set_biblio(
const std::shared_ptr<bibliotheque> & ptr);
76 void set_fs_root(
const std::string & prefix) { path_mask->set_fs_root(prefix); };
79 libdar::archive_options_extract
get_options()
const;
85 virtual void load_json(
const json & source)
override;
97 virtual void on_event(
const std::string & event_name)
override;
134 guichet guichet_overwriting_policy;
135 std::shared_ptr<html_form_overwrite_action> overwriting_policy;
140 std::shared_ptr<html_mask_form_filename> filename_mask;
143 std::shared_ptr<html_mask_form_path> path_mask;
146 std::shared_ptr<html_mask_form_filename> ea_mask;
151 void trigger_changed();
153 static constexpr const unsigned int format_version = 1;
154 static constexpr const char* myclass_id =
"html_options_extract";
156 static constexpr const char* jlabel_in_place =
"in-place";
157 static constexpr const char* jlabel_warn_over =
"warn-over";
158 static constexpr const char* jlabel_flat =
"flat";
159 static constexpr const char* jlabel_what_to_check =
"what-to-check";
160 static constexpr const char* jlabel_warn_remove_no_match =
"warn-remove-no-match";
161 static constexpr const char* jlabel_empty =
"dry-run";
162 static constexpr const char* jlabel_empty_dir =
"empty-dir";
163 static constexpr const char* jlabel_dirty_behavior =
"dirty-behavior";
164 static constexpr const char* jlabel_ignore_sockets =
"ignore-sockets";
165 static constexpr const char* jlabel_info_details =
"info-details";
166 static constexpr const char* jlabel_display_treated =
"display-treated";
167 static constexpr const char* jlabel_display_only_dir =
"display-only-dir";
168 static constexpr const char* jlabel_display_skipped =
"display-skipped";
169 static constexpr const char* jlabel_overwriting_policy =
"overwriting-policy";
170 static constexpr const char* jlabel_only_deleted =
"only-deleted";
171 static constexpr const char* jlabel_ignore_deleted =
"ignore-deleted";
172 static constexpr const char* jlabel_filename_mask =
"filename-mask";
173 static constexpr const char* jlabel_path_mask =
"path-mask";
174 static constexpr const char* jlabel_ea_mask =
"ea-mask";
175 static constexpr const char* jlabel_fsa_scope =
"fsa-scope";
class of object that are pointed/triggered to by others
Definition: actor.hpp:55
class bibliotheque_subconfig is an interface (pure virtual class)
Definition: bibliotheque_subconfig.hpp:50
std::set< coordinates > using_set
list of configs a given config depends on
Definition: bibliotheque.hpp:117
class body_builder is the root class of object generating HTML body
Definition: body_builder.hpp:99
class chemin definition
Definition: chemin.hpp:51
class events
Definition: events.hpp:52
class guichet let one fetch config from a bibliotheque, save as or setup manually for a given compone...
Definition: guichet.hpp:92
class html_derouleur is a pure virtual class
Definition: html_derouleur.hpp:55
html component used for the user to define a has algorithm
Definition: html_fsa_scope.hpp:52
class jsoner
Definition: jsoner.hpp:73
class holding fields of an HTTP request (method, URI, header, cookies, and so on)
Definition: request.hpp:45
defines jsoner class and class exception_json