24#ifndef HTML_ARCHIVE_CREATE_HPP
25#define HTML_ARCHIVE_CREATE_HPP
35#include <libthreadar/libthreadar.hpp>
38#include "html_form_input_file.hpp"
39#include "html_form_fieldset.hpp"
40#include "html_options_create.hpp"
41#include "body_builder.hpp"
42#include "html_derouleur.hpp"
44#include "html_libdar_running_popup.hpp"
60 void set_biblio(
const std::shared_ptr<bibliotheque> & ptr);
62 const std::string & get_archive_path()
const {
return sauv_path.get_value(); };
63 const std::string & get_archive_basename()
const;
64 const std::string & get_fs_root()
const {
return fs_root.get_value(); };
65 libdar::archive_options_create get_options_create(std::shared_ptr<html_web_user_interaction> dialog)
const {
return options->get_options(dialog); };
68 virtual void on_event(
const std::string & event_name)
override;
84 static constexpr const char* fs_root_change_event =
"fs_root_changed";
95 std::shared_ptr<html_options_create> options;
102 bool need_entrepot_update;
104 void update_entrepot();
105 void update_landing_path();
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 guichet let one fetch config from a bibliotheque, save as or setup manually for a given compone...
Definition: guichet.hpp:92
object providing html user interface component for the user to provide options to create a new archiv...
Definition: html_archive_create.hpp:50
virtual void on_event(const std::string &event_name) override
implementation in inherited class of the action triggered by the event given in argument
Definition: html_archive_create.cpp:155
void set_biblio(const std::shared_ptr< bibliotheque > &ptr)
mandatory call to invoke ASAP after constructor
Definition: html_archive_create.cpp:118
virtual std::string inherited_get_body_part(const chemin &path, const request &req) override
inherited from body_builder
Definition: html_archive_create.cpp:184
virtual void signaled_inherited_cancel() override
inherited from libthreadar::thread
Definition: html_archive_create.cpp:210
virtual void new_css_library_available() override
Definition: html_archive_create.cpp:192
virtual void inherited_run() override
inherited from libthreadar::thread
Definition: html_archive_create.cpp:201
class html_derouleur is a pure virtual class
Definition: html_derouleur.hpp:55
class holding fields of an HTTP request (method, URI, header, cookies, and so on)
Definition: request.hpp:45