Go to the source code of this file.
Namespaces | |
| namespace | anonymous_namespace{MainWindow.cpp} |
Macros | |
| #define | _(text) |
| #define | BSC_SERVICECTL_PATH "/usr/libexec/bastionguard/bastionguard-service" |
Functions | |
| std::optional< bool > | anonymous_namespace{MainWindow.cpp}::queryScreensaverActiveOnce (const char *bus_name, const char *object_path, const char *interface_name) |
| std::optional< bool > | anonymous_namespace{MainWindow.cpp}::queryScreensaverActive () |
| std::string | anonymous_namespace{MainWindow.cpp}::autostartDesktopContent () |
| bool | anonymous_namespace{MainWindow.cpp}::writeServiceControlPreference (bool enabled, const std::string &backupFile) |
| bool | anonymous_namespace{MainWindow.cpp}::writeConfigAutostartDesktop (const std::filesystem::path &path) |
| std::string | anonymous_namespace{MainWindow.cpp}::shellQuote (const std::string &s) |
| bool | anonymous_namespace{MainWindow.cpp}::runCommand (const std::string &cmd) |
| std::string | anonymous_namespace{MainWindow.cpp}::firstExistingPath (const std::initializer_list< std::string > &candidates) |
| std::string | anonymous_namespace{MainWindow.cpp}::displayNameForStatus (const ConnectionInfo &info) |
Variables | |
| constexpr int | anonymous_namespace{MainWindow.cpp}::kNotifDesktopActive = 15 |
| constexpr int | anonymous_namespace{MainWindow.cpp}::kNotifDesktopIdle = 16 |
| constexpr const char * | anonymous_namespace{MainWindow.cpp}::kUISocketPath = "unix:///tmp/bsd-daemon.sock" |
| constexpr const char * | anonymous_namespace{MainWindow.cpp}::kServiceName = "bsc-daemon.service" |
| constexpr const char * | anonymous_namespace{MainWindow.cpp}::kServiceCtlPath = BSC_SERVICECTL_PATH |
| constexpr const char * | anonymous_namespace{MainWindow.cpp}::kSystemAutostartDesktop = "/etc/xdg/autostart/bastionguard-sc-autostart.desktop" |
| constexpr const char * | anonymous_namespace{MainWindow.cpp}::kFallbackSystemAutostartDesktop = "/etc/xdg/autostart/bastionguard-sc.desktop" |
| constexpr const char * | anonymous_namespace{MainWindow.cpp}::kSystemAutostartBackupDesktop = "/etc/xdg/autostart/bastionguard-sc-autostart.desktop.bak" |
| #define _ | ( | text | ) |
Definition at line 27 of file MainWindow.cpp.
| #define BSC_SERVICECTL_PATH "/usr/libexec/bastionguard/bastionguard-service" |
Definition at line 30 of file MainWindow.cpp.
Referenced by SettingsPage::serviceEnabled().