You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libublsettingsui-gtk3/source/libublsettingsui-gtk3-save.h

27 lines
860 B

struct loaded_config {
dictionary_fields(loaded_config);
char *section;
};
template_saving_window *yon_saving_window_new();
struct loaded_config *yon_config_convert_parameter(config_str parsed, int size);
struct save_return {
void *save_success_argument;
config_str file_return;
int file_save;
};
/**function and argument, which called after successful config saving.
* Example:
* void on_save_done(main_window *widgets, config_str output, int size)
*/
void (*save_success_function)(void*,config_str,int)=NULL;
void *save_success_argument=NULL;
void (*save_failure_function)(void*,config_str,int)=NULL;
void *save_failure_argument=NULL;
#define default_config_command(target, data) yon_char_unite("ubconfig --source default --raw get ",target," ",data,NULL)
void on_save_parameters(GtkWidget *self, template_saving_window *window);