Skip to content

Commit

Permalink
Remove bootout_grabber_daemon, bootout_console_user_server
Browse files Browse the repository at this point in the history
  • Loading branch information
tekezo committed May 6, 2024
1 parent 52e6041 commit 7abfd64
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 21 deletions.
1 change: 0 additions & 1 deletion src/lib/libkrbn/include/libkrbn/libkrbn.h
Expand Up @@ -46,7 +46,6 @@ void libkrbn_launchctl_manage_console_user_server(bool load);
void libkrbn_launchctl_manage_notification_window(bool load);
void libkrbn_launchctl_manage_session_monitor(void);
void libkrbn_launchctl_restart_console_user_server(void);
void libkrbn_launchctl_bootout_console_user_server(void);

void libkrbn_launch_event_viewer(void);
void libkrbn_launch_menu(void);
Expand Down
4 changes: 0 additions & 4 deletions src/lib/libkrbn/src/libkrbn.cpp
Expand Up @@ -146,10 +146,6 @@ void libkrbn_launchctl_restart_console_user_server(void) {
krbn::launchctl_utility::restart_console_user_server();
}

void libkrbn_launchctl_bootout_console_user_server(void) {
krbn::launchctl_utility::bootout_console_user_server();
}

void libkrbn_launch_event_viewer(void) {
krbn::application_launcher::launch_event_viewer();
}
Expand Down
16 changes: 0 additions & 16 deletions src/share/launchctl_utility.hpp
Expand Up @@ -8,14 +8,6 @@

namespace krbn {
namespace launchctl_utility {
inline void bootout_grabber_daemon(void) {
auto domain_target = pqrs::osx::launchctl::make_system_domain_target();
auto service_path = constants::get_grabber_daemon_launchctl_service_path();

pqrs::osx::launchctl::bootout(domain_target,
service_path);
}

inline void manage_grabber_agent(void) {
auto domain_target = pqrs::osx::launchctl::make_gui_domain_target();
auto service_name = constants::get_grabber_agent_launchctl_service_name();
Expand Down Expand Up @@ -71,14 +63,6 @@ inline void restart_console_user_server(void) {
flags);
}

inline void bootout_console_user_server(void) {
auto domain_target = pqrs::osx::launchctl::make_gui_domain_target();
auto service_path = constants::get_console_user_server_launchctl_service_path();

pqrs::osx::launchctl::bootout(domain_target,
service_path);
}

inline void manage_notification_window(bool load) {
auto domain_target = pqrs::osx::launchctl::make_gui_domain_target();
auto service_name = constants::get_notification_window_launchctl_service_name();
Expand Down

0 comments on commit 7abfd64

Please sign in to comment.