Files
BlockBlock/Shared/XPCDaemonProto.h
T
Patrick Wardle 28a88d7e39 project cleanup + bug fixes
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)
2020-04-13 17:07:25 -10:00

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