24#ifndef html_bibliotheque_HPP
25#define html_bibliotheque_HPP
38#include "body_builder.hpp"
41#include "html_tabs.hpp"
42#include "html_form_input_file.hpp"
43#include "html_double_button.hpp"
44#include "html_form_fieldset.hpp"
45#include "html_form.hpp"
47#include "arriere_boutique.hpp"
48#include "html_entrepot_landing.hpp"
49#include "html_mask_form_filename.hpp"
50#include "html_mask_form_path.hpp"
51#include "html_compression_params.hpp"
52#include "html_slicing.hpp"
53#include "html_ciphering.hpp"
54#include "html_form_sig_block_size.hpp"
55#include "html_form_overwrite_action.hpp"
56#include "html_options_test.hpp"
57#include "html_options_compare.hpp"
58#include "html_options_read.hpp"
59#include "html_options_create.hpp"
60#include "html_options_isolate.hpp"
61#include "html_options_merge.hpp"
62#include "html_options_repair.hpp"
63#include "html_options_extract.hpp"
64#include "html_yes_no_box.hpp"
110 static const std::string event_download;
112 html_bibliotheque(std::shared_ptr<bibliotheque> & ptr,
const std::string & bib_path);
121 virtual void on_event(
const std::string & event_name)
override;
135 std::shared_ptr<bibliotheque> biblio;
137 std::unique_ptr<arriere_boutique<html_entrepot_landing> > ab_entrepot;
138 std::unique_ptr<arriere_boutique<html_mask_form_filename> > ab_filemask;
140 std::unique_ptr<arriere_boutique<html_mask_form_path> > ab_pathmask;
141 std::unique_ptr<arriere_boutique<html_compression_params> > ab_compr;
142 std::unique_ptr<arriere_boutique<html_slicing> > ab_slicing;
143 std::unique_ptr<arriere_boutique<html_ciphering> > ab_ciphering;
144 std::unique_ptr<arriere_boutique<html_form_sig_block_size> > ab_delta_sig;
145 std::unique_ptr<arriere_boutique<html_form_overwrite_action> > ab_over_policy;
146 std::unique_ptr<arriere_boutique<html_options_test> > ab_options_test;
147 std::unique_ptr<arriere_boutique<html_options_compare> > ab_options_compare;
148 std::unique_ptr<arriere_boutique<html_options_read> > ab_options_read;
149 std::unique_ptr<arriere_boutique<html_options_create> > ab_options_create;
150 std::unique_ptr<arriere_boutique<html_options_isolate> > ab_options_isolate;
151 std::unique_ptr<arriere_boutique<html_options_merge> > ab_options_merge;
152 std::unique_ptr<arriere_boutique<html_options_repair> > ab_options_repair;
153 std::unique_ptr<arriere_boutique<html_options_extract> > ab_options_extract;
182 enum { context_undefined, context_clear_conf, context_load_conf, context_upload_conf } q_context;
185 void set_saved_status();
186 void clear_ok_messages();
187 void set_default_configs();
188 void set_default_configs_no_compress();
189 void set_full_from_diff();
191 static constexpr const char* tab_main =
"main";
192 static constexpr const char* tab_repo =
"repo";
193 static constexpr const char* tab_filemask =
"filemask";
194 static constexpr const char* tab_pathmask =
"pathmask";
195 static constexpr const char* tab_compression =
"compression";
196 static constexpr const char* tab_slicing =
"slicing";
197 static constexpr const char* tab_ciphering =
"ciphering";
198 static constexpr const char* tab_delta_sig =
"delta-sig";
199 static constexpr const char* tab_over_policy =
"over-policy";
200 static constexpr const char* tab_options_test =
"options-test";
201 static constexpr const char* tab_options_compare =
"options-compare";
202 static constexpr const char* tab_options_read =
"options-read";
203 static constexpr const char* tab_options_create =
"options-create";
204 static constexpr const char* tab_options_isolate =
"options-isolate";
205 static constexpr const char* tab_options_merge =
"options-merge";
206 static constexpr const char* tab_options_repair =
"options-repair";
207 static constexpr const char* tab_options_extract =
"options-extract";
209 static constexpr const char* event_save =
"save";
210 static constexpr const char* event_load =
"load";
211 static constexpr const char* event_clear =
"clear";
212 static constexpr const char* event_defaults =
"defaults";
214 static constexpr const char* css_statusbar =
"html_biblio_bar";
defines bibliotheque class
class of object that are pointed/triggered to by others
Definition: actor.hpp:55
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 html_bibliotheque provide graphical mean to manipulate a bibliotheque object
Definition: html_bibliotheque.hpp:108
virtual void new_css_library_available() override
inherited from body_builder
Definition: html_bibliotheque.cpp:699
virtual std::string inherited_get_body_part(const chemin &path, const request &req) override
inherited from body_builder
Definition: html_bibliotheque.cpp:652
virtual void on_event(const std::string &event_name) override
inherited from body_builder
Definition: html_bibliotheque.cpp:530
class html_div is the implementation of
Definition: html_div.hpp:46
class html_tabs implements tabs
Definition: html_tabs.hpp:55
class html_text manage text and header in html document
Definition: html_text.hpp:52
html component for user to answer by yes or no to a provided question
Definition: html_yes_no_box.hpp:51
class holding fields of an HTTP request (method, URI, header, cookies, and so on)
Definition: request.hpp:45