![]() |
Webdar 1.0.0
Web user interface to libdar
|
class html_form_dynamic_table_object_provider More...
#include <html_form_dynamic_table.hpp>

Public Member Functions | |
| virtual std::unique_ptr< body_builder > | provide_object_of_type (unsigned int num, const std::string &context, std::string &changed_event) const =0 |
| method invoked by a html_form_dynamic_table when a new line has to be created More... | |
class html_form_dynamic_table_object_provider
is an interface for objets using an html_form_dynamic_table. This component will call back the recorded provider object when a new entry is asked from web interface to be added in the table.
|
pure virtual |
method invoked by a html_form_dynamic_table when a new line has to be created
| [in] | num | is the type number of the object to create |
| [in] | context | is a arbitrary information provided by the table as defined by the set_obj_type_context() method of this table. |
| [out] | changed_event | if not provided as an empty the dynamic_table will register for an event of that name on the provided object (which must thus inherit from events class), upon such event, the table will trigger its own html_form_dynamic_table::changed event propagating the change of any of its component (for those supporting the events interface and which event name has been provided here) |
Implemented in html_form_gnupg_list, html_form_ignore_as_symlink, html_form_overwrite_chain_action, html_form_overwrite_combining_criterium, html_form_same_fs, html_mask_form_filename, and html_mask_form_path.