Files
Patrick Wardle ff21b9867d mojave updates
-camera
 -permissions check/request
 -capture via login item

-birectional XPC

-project cleanup
2018-09-02 16:31:13 -10:00

29 lines
709 B
Objective-C
Executable File

//
// file: XPCDaemonProtocol.h
// project: DND (shared)
// description: methods exported by the daemon
//
// created by Patrick Wardle
// copyright (c) 2018 Objective-See. All rights reserved.
//
@import Foundation;
@protocol XPCDaemonProtocol
//process qrc request from client
-(void)qrcRequest:(void (^)(NSData *))reply;
//wait for phone to complete registration
// calls into framework that comms w/ server to wait for phone
-(void)recvRegistrationACK:(void (^)(NSDictionary* registrationInfo))reply;
//get preferences
-(void)getPreferences:(NSString*)preference reply:(void (^)(NSDictionary* preferences))reply;
//update preferences
-(void)updatePreferences:(NSDictionary*)preferences;
@end