24#ifndef HTML_MASK_FORM_PATH_HPP
25#define HTML_MASK_FORM_PATH_HPP
35#include <dar/libdar.hpp>
38#include "body_builder.hpp"
41#include "html_form_dynamic_table.hpp"
43#include "html_mask.hpp"
44#include "bibliotheque_subconfig.hpp"
45#include "html_form.hpp"
46#include "html_form_mask_bool.hpp"
63 static const std::string changed;
77 void set_child(
const std::shared_ptr<bibliotheque> & ptr,
88 virtual std::unique_ptr<libdar::mask>
get_mask()
const override {
return root.
get_mask(); };
96 const std::string & context,
97 std::string & changed_event)
const override;
100 virtual void load_json(
const json & source)
override;
112 virtual void on_event(
const std::string & event_name)
override;
127 bool allow_abs_paths;
128 std::deque<std::string> labels;
130 std::shared_ptr<bibliotheque> biblio;
131 std::shared_ptr<libdar::path> fs_root;
146 void check_ptr()
const;
148 static constexpr const unsigned int format_version = 1;
149 static constexpr const char* myclass_id =
"html_mask_form_path";
151 static constexpr const char* jlabel_bool_config =
"bool-config";
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
category
change event is replaced by a static method with category in argument
Definition: bibliotheque.hpp:63
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_mask defines the interface of all masks
Definition: html_mask.hpp:44
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