|
1234567891011121314151617181920 |
- #include "SSXRootListController.h"
-
- @implementation SSXRootListController
-
- - (NSArray *)specifiers {
- if (!_specifiers) {
- _specifiers = [[self loadSpecifiersFromPlistName:@"Root" target:self] retain];
- }
-
- return _specifiers;
- }
-
- // Respring function
- - (void)respring:(id)sender {
- pid_t pid;
- const char* args[] = {"killall", "backboardd", NULL};
- posix_spawn(&pid, "/usr/bin/killall", NULL, NULL, (char* const*)args, NULL);
- }
-
- @end
|