Go to the source code of this file.
Namespaces | |
| namespace | anonymous_namespace{first-run-services-window.cpp} |
Functions | |
| static bool | anonymous_namespace{first-run-services-window.cpp}::is_system_unit (const std::string &unit_name) |
| static bool | anonymous_namespace{first-run-services-window.cpp}::run_cmd (const std::vector< std::string > &argv, bool silence_stderr=true, bool capture_stdout=false, std::string *out_stdout=nullptr) |
| static bool | anonymous_namespace{first-run-services-window.cpp}::pkexec_servicectl (const std::vector< std::string > &args, bool silence_stderr=false) |
| static std::string | anonymous_namespace{first-run-services-window.cpp}::get_user_intercept_ca_path () |
| static std::string | anonymous_namespace{first-run-services-window.cpp}::get_system_fallback_ca_path () |
| static std::string | anonymous_namespace{first-run-services-window.cpp}::resolve_ca_path () |
| static void | ensure_config_dir () |
| static void | ensure_flag_dir () |
| static void | touch_flag_file () |
| static void | save_config (const std::vector< std::string > &service_names, const std::vector< Gtk::CheckButton * > &check_buttons) |
| static void | install_ca_system () |
| static void | install_ca_nss_user () |
Variables | |
| const std::string | anonymous_namespace{first-run-services-window.cpp}::FLAG_DIR = Glib::get_user_config_dir() + "/BastionGuard" |
| const std::string | anonymous_namespace{first-run-services-window.cpp}::FLAG_FILE = FLAG_DIR + "/first-run-services-done" |
| const std::string | anonymous_namespace{first-run-services-window.cpp}::CONFIG_DIR = Glib::get_user_config_dir() + "/BastionGuard" |
| const std::string | anonymous_namespace{first-run-services-window.cpp}::CONFIG_FILE = CONFIG_DIR + "/config.json" |
| const std::set< std::string > | anonymous_namespace{first-run-services-window.cpp}::SYSTEM_UNITS |
| static constexpr const char * | anonymous_namespace{first-run-services-window.cpp}::CA_HELPER |
|
static |
Definition at line 143 of file first-run-services-window.cpp.
References _, anonymous_namespace{first-run-services-window.cpp}::CONFIG_DIR, and ensure_config_dir().
Referenced by ensure_config_dir(), and save_config().
|
static |
Definition at line 160 of file first-run-services-window.cpp.
References _, ensure_flag_dir(), and anonymous_namespace{first-run-services-window.cpp}::FLAG_DIR.
Referenced by ensure_flag_dir(), and touch_flag_file().
|
static |
Definition at line 500 of file first-run-services-window.cpp.
References _, BastionGuard::Platform::cef_available(), install_ca_nss_user(), anonymous_namespace{first-run-services-window.cpp}::resolve_ca_path(), and anonymous_namespace{first-run-services-window.cpp}::run_cmd().
Referenced by FirstRunServicesWindow::apply_and_close(), and install_ca_nss_user().
|
static |
Definition at line 462 of file first-run-services-window.cpp.
References _, anonymous_namespace{first-run-services-window.cpp}::CA_HELPER, BastionGuard::Platform::cef_available(), install_ca_system(), anonymous_namespace{first-run-services-window.cpp}::resolve_ca_path(), and anonymous_namespace{first-run-services-window.cpp}::run_cmd().
Referenced by FirstRunServicesWindow::apply_and_close(), and install_ca_system().
|
static |
Definition at line 192 of file first-run-services-window.cpp.
References _, anonymous_namespace{first-run-services-window.cpp}::CONFIG_FILE, ensure_config_dir(), and save_config().
Referenced by FirstRunServicesWindow::apply_and_close(), and save_config().
|
static |
Definition at line 177 of file first-run-services-window.cpp.
References _, ensure_flag_dir(), anonymous_namespace{first-run-services-window.cpp}::FLAG_FILE, and touch_flag_file().
Referenced by FirstRunServicesWindow::maybe_show(), and touch_flag_file().