89 Gtk::TreeModelColumn<Glib::ustring>
name;
119 const Glib::RefPtr<Gtk::ListStore>& store,
138 Gtk::TreeModelColumn<Glib::ustring>
source;
167 const Glib::ustring& ignore_paths,
168 const Glib::ustring& ignore_ext,
169 const Glib::ustring& suspicious_ext);
186 int& interval, std::vector<std::string>& dirs);
189 const std::vector<std::string>& dirs);
211 const Glib::ustring& message,
212 const std::string& service_name
215 bool run_cmd(
const std::vector<std::string>& argv,
216 std::string* out_stdout =
nullptr,
217 bool silence_stderr =
true);
220 std::string* out_stdout =
nullptr);
223 const std::vector<std::tuple<std::string, Glib::ustring, Glib::ustring>>& services,
Gtk::TreeModelColumn< Glib::ustring > source
Gtk::TreeModelColumn< Glib::ustring > name
Gtk::ListBox listbox_paths
Gtk::Label antiransomStatus
Glib::RefPtr< Gtk::ListStore > allowStore
std::vector< std::string > samba_dirs
Gtk::CheckButton chk_enableYara
void saveScannerConfig(bool use_rules, bool use_db, int interval, const std::vector< std::string > &dirs)
void onQuarantineClicked()
void saveAdvancedConfig(bool suspicious_only, const Glib::ustring &ignore_paths, const Glib::ustring &ignore_ext, const Glib::ustring &suspicious_ext)
void refreshAntiransomRules()
Gtk::StackSwitcher stack_switcher
Gtk::Button btn_apply_language_
Gtk::Switch antiphishSwitch
Gtk::Switch clamonaccSwitch
SettingsPage(ClamdConfig &config)
Gtk::Button btn_removePath
Gtk::CheckButton chk_enableSanesecurity
Gtk::Label toggleAllLabel
bool enable_system_service(const std::string &unit_name)
void refresh_clamav_db_list(Gtk::Box *listBox)
BastionGuard::AliveFlag alive_
Gtk::Switch antiransomSwitch
Gtk::Button quarantineButton
void loadAdvancedConfig()
Gtk::Switch switchEnableSamba
Gtk::Switch googleSafeSwitch
Gtk::ComboBoxText combo_os_
static void show_service_error_dialog(const Glib::ustring &message, const std::string &service_name)
void build_services_section(Gtk::Box &parent, const std::vector< std::tuple< std::string, Glib::ustring, Glib::ustring > > &services, bool system_units)
Gtk::Entry entry_http_port_
void build_clamav_db_tab()
Gtk::ComboBoxText combo_language_
void loadScannerConfig(bool &use_rules, bool &use_db, int &interval, std::vector< std::string > &dirs)
void build_secure_payments_tab()
void build_system_services_tab()
Gtk::Button btn_applyBase
Gtk::Button btn_removeScanPath
void onAntiphishToggled()
Gtk::Entry googleSafeKeyEntry
Gtk::Label * clamdb_count_label_
bool run_cmd(const std::vector< std::string > &argv, std::string *out_stdout=nullptr, bool silence_stderr=true)
void onAntiransomToggled()
Glib::RefPtr< Gtk::SingleSelection > whitelistSelection
Gtk::CheckButton chk_enableSamba
std::map< std::string, bool > toggleControlled
bool enable_user_service(const std::string &service_name)
Gtk::ListView whitelistView
bool is_user_service_enabled(const std::string &service_name)
void build_email_security_tab()
void build_antiransom_tab()
Gtk::Button btn_addScanPath
bool validate_samba_dirs()
bool is_system_service_enabled(const std::string &unit_name)
Gtk::Switch toggleAllSwitch
Gtk::Label antiphishStatus
ClamdConfig & clamdConfig
Glib::RefPtr< Gtk::ListStore > phishStore
void build_proxy_bypass_tab()
Gtk::Entry entry_https_port_
Gtk::SpinButton spin_interval
std::map< std::string, Gtk::CheckButton * > checkOptions
void build_antiphish_tab()
void set_notebook_no_tabs()
Gtk::ListBox listbox_scanPaths
void build_whitelist_tab()
std::vector< Gtk::Widget * > page_order_
void build_antiransom_advanced_tab()
void build_user_services_tab()
bool disable_user_service(const std::string &service_name)
bool pkexec_servicectl(const std::vector< std::string > &args, std::string *out_stdout=nullptr)
Glib::RefPtr< Gtk::ListStore > sambaStore
bool disable_system_service(const std::string &unit_name)
std::vector< std::string > collect_samba_dirs(const Glib::RefPtr< Gtk::ListStore > &store, const SambaColumns &cols)
Gtk::Button btn_apply_webconfig_
Glib::RefPtr< Gtk::StringList > whitelistStore
Gtk::CheckButton * chkSuspOnly
Gtk::Label quarantineLabel
Glib::RefPtr< Gtk::ListStore > rulesStore
std::shared_ptr< std::atomic< bool > > AliveFlag
AliveFlag make_alive_flag()
Gtk::TreeModelColumn< Glib::ustring > col_hash
Gtk::TreeModelColumn< Glib::ustring > col_rule
Gtk::TreeModelColumn< Glib::ustring > col_path
Gtk::TreeModelColumn< Glib::ustring > col_color