#include #include #include #include #include #include #include #include #include #include #include #include #ifdef WEBKIT_FOUND #include #endif #include "ubl-strings.h" #define WIKI_LINK "https://wiki.ublinux.ru/ru/Программное_обеспечение/Программы_и_утилиты/Все/ubl-settings-TEMPLATE" #define _(String) gettext(String) #define glade_path "/com/ublinux/ui/ubl-settings-kernel.glade" #define banner_path "/com/ublinux/images/ubl-settings-kernel-banner.png" #define CssPath "/com/ublinux/css/ubl-settings-kernel.css" #define config_path yon_char_unite(yon_ubl_user_get_home_directory(),"/.config/",LocaleName,"/",LocaleName,".conf",NULL) #define LocalePath "/usr/share/locale" #define LocaleName "ubl-settings-kernel" #define yon_config_get_custom_command(target) yon_char_unite("ubconfig --source ",target," get system PARAMETERS",NULL) #define config_get_local_command "ubconfig --source system get system PARAMETERS" #define config_get_global_command "ubconfig --source global get system PARAMETERS" #define config_get_default_command "" #define config_get_global_only_parameters "" #define config_get_local_only_parameters "" typedef char* string; string version_application; char *local; typedef struct { template_config_fields } config; typedef struct { template_window_fields } main_window; typedef struct { GtkWidget *Window; GtkWidget *HeaderLabel; GtkWidget *AlwaysOpenCheck; GtkWidget *CloseButton; GtkWidget *AcceptButton; } documentation_confirmation_window; void yon_load_proceed(YON_CONFIG_TYPE type); void config_init(); void yon_main_window_complete(main_window *widgets);