#include <first-run-services-window.hpp>
Classes | |
| struct | ServiceInfo |
Public Member Functions | |
| FirstRunServicesWindow () | |
Static Public Member Functions | |
| static void | maybe_show () |
Protected Member Functions | |
| bool | on_close_request () override |
Private Member Functions | |
| void | build_headerbar () |
| void | build_ui () |
| void | load_current_states () |
| void | select_all () |
| void | select_minimal () |
| void | apply_and_close () |
| void | on_minimize_clicked () |
| void | on_close_clicked () |
| bool | is_user_service_enabled (const std::string &service_name) |
| bool | enable_user_service (const std::string &service_name) |
| bool | disable_user_service (const std::string &service_name) |
| bool | is_system_service_enabled (const std::string &unit_name) |
| bool | enable_system_service (const std::string &unit_name) |
| bool | disable_system_service (const std::string &unit_name) |
Private Attributes | |
| std::vector< Gtk::CheckButton * > | check_buttons |
| std::vector< std::string > | service_names |
| Gtk::Button * | btn_minimize = nullptr |
| Gtk::Button * | btn_close = nullptr |
Definition at line 28 of file first-run-services-window.hpp.
| FirstRunServicesWindow::FirstRunServicesWindow | ( | ) |
Definition at line 229 of file first-run-services-window.cpp.
References build_headerbar(), build_ui(), and load_current_states().
Referenced by maybe_show().
|
private |
Definition at line 599 of file first-run-services-window.cpp.
References check_buttons, disable_system_service(), disable_user_service(), enable_system_service(), enable_user_service(), install_ca_nss_user(), install_ca_system(), is_system_service_enabled(), is_user_service_enabled(), save_config(), and service_names.
Referenced by build_ui(), on_close_clicked(), and on_close_request().
|
private |
Definition at line 257 of file first-run-services-window.cpp.
References _, btn_close, btn_minimize, on_close_clicked(), on_minimize_clicked(), and resource().
Referenced by FirstRunServicesWindow().
|
private |
Definition at line 298 of file first-run-services-window.cpp.
References _, apply_and_close(), BastionGuard::Platform::cef_available(), check_buttons, resource(), select_all(), select_minimal(), and service_names.
Referenced by FirstRunServicesWindow().
|
private |
Definition at line 732 of file first-run-services-window.cpp.
Referenced by apply_and_close().
|
private |
Definition at line 690 of file first-run-services-window.cpp.
Referenced by apply_and_close().
|
private |
Definition at line 723 of file first-run-services-window.cpp.
Referenced by apply_and_close().
|
private |
Definition at line 681 of file first-run-services-window.cpp.
Referenced by apply_and_close().
|
private |
Definition at line 696 of file first-run-services-window.cpp.
Referenced by apply_and_close(), and load_current_states().
|
private |
Definition at line 654 of file first-run-services-window.cpp.
Referenced by apply_and_close(), and load_current_states().
|
private |
Definition at line 425 of file first-run-services-window.cpp.
References check_buttons, is_system_service_enabled(), is_user_service_enabled(), and service_names.
Referenced by FirstRunServicesWindow().
|
static |
Definition at line 242 of file first-run-services-window.cpp.
References FirstRunServicesWindow(), and touch_flag_file().
Referenced by ClamApp::on_activate().
|
private |
Definition at line 643 of file first-run-services-window.cpp.
References apply_and_close().
Referenced by build_headerbar().
|
overrideprotected |
Definition at line 648 of file first-run-services-window.cpp.
References apply_and_close().
|
private |
Definition at line 636 of file first-run-services-window.cpp.
Referenced by build_headerbar().
|
private |
Definition at line 441 of file first-run-services-window.cpp.
References check_buttons.
Referenced by build_ui().
|
private |
Definition at line 447 of file first-run-services-window.cpp.
References check_buttons, and service_names.
Referenced by build_ui().
|
private |
Definition at line 63 of file first-run-services-window.hpp.
Referenced by build_headerbar().
|
private |
Definition at line 62 of file first-run-services-window.hpp.
Referenced by build_headerbar().
|
private |
Definition at line 45 of file first-run-services-window.hpp.
Referenced by apply_and_close(), build_ui(), load_current_states(), select_all(), and select_minimal().
|
private |
Definition at line 46 of file first-run-services-window.hpp.
Referenced by apply_and_close(), build_ui(), load_current_states(), and select_minimal().