mirror of
https://github.com/objective-see/BlockBlock.git
synced 2026-03-22 07:02:39 +00:00
28a88d7e39
improved login item blocking added copy/paste support for windows improved client auth checking (cs flags checks) removed unneeded files improved dropdown menu and added close window support (issue: #2)
37 lines
719 B
Objective-C
Executable File
37 lines
719 B
Objective-C
Executable File
//
|
|
// file: XPCDaemonProtocol.h
|
|
// project: BlockBlock (shared)
|
|
// description: methods exported by the daemon
|
|
//
|
|
// created by Patrick Wardle
|
|
// copyright (c) 2018 Objective-See. All rights reserved.
|
|
//
|
|
|
|
@import Foundation;
|
|
|
|
@class Event;
|
|
|
|
@protocol XPCDaemonProtocol
|
|
|
|
//get preferences
|
|
-(void)getPreferences:(void (^)(NSDictionary*))reply;
|
|
|
|
//update preferences
|
|
-(void)updatePreferences:(NSDictionary*)preferences;
|
|
|
|
//get rules
|
|
-(void)getRules:(void (^)(NSData*))reply;
|
|
|
|
//delete rule
|
|
-(void)deleteRule:(Rule*)rule reply:(void (^)(NSData*))reply;
|
|
|
|
//respond to an alert
|
|
-(void)alertReply:(NSDictionary*)alert;
|
|
|
|
//add rule
|
|
//-(void)addRule:(NSString*)path action:(NSUInteger)action user:(NSUInteger)user;
|
|
|
|
|
|
|
|
@end
|