24#ifndef HTML_FORM_OVERWRITE_CONSTANT_ACTION_HPP
25#define HTML_FORM_OVERWRITE_CONSTANT_ACTION_HPP
37#include "html_overwrite_action.hpp"
38#include "body_builder.hpp"
39#include "html_form_select.hpp"
40#include "html_form_fieldset.hpp"
54 static const std::string changed;
58 static constexpr const char* data_preserve =
"Preserve";
59 static constexpr const char* data_overwrite =
"Overwrite";
60 static constexpr const char* data_preserve_saved =
"Preserve and mark already saved";
61 static constexpr const char* data_overwrite_saved =
"Overwrite and mark already saved";
62 static constexpr const char* data_remove =
"Remove";
63 static constexpr const char* data_undefined =
"Keep undefined if not already defined";
64 static constexpr const char* data_ask =
"Ask user what to do for each file in conflict";
68 static constexpr const char* ea_preserve =
"Preserve";
69 static constexpr const char* ea_overwrite =
"Overwrite";
70 static constexpr const char* ea_clear =
"Clear all EA and FSA";
71 static constexpr const char* ea_preserve_saved =
"Preserve and mark already saved";
72 static constexpr const char* ea_overwrite_saved =
"Overwrite and mark already saved";
73 static constexpr const char* ea_merge_preserve =
"Merge EA and preserve";
74 static constexpr const char* ea_merge_overwrite =
"Merge EA and overwrite";
75 static constexpr const char* ea_undefined =
"Keep undefined if not already defined";
76 static constexpr const char* ea_ask =
"Ask user what to do for each file in conflict";
100 virtual void load_json(
const json & source)
override;
109 virtual void on_event(
const std::string & event_name)
override;
116 static constexpr const unsigned int format_version = 1;
117 static constexpr const char* myclass_id =
"html_form_overwrite_constant_action";
119 static constexpr const char* jlabel_data =
"data";
120 static constexpr const char* jlabel_ea =
"ea";
class of object that are pointed/triggered to by others
Definition: actor.hpp:55
class events
Definition: events.hpp:52
html component used for constant actions in overwriting policies
Definition: html_overwrite_action.hpp:48
class jsoner
Definition: jsoner.hpp:73
defines jsoner class and class exception_json