Rename SonarResponder to FlipperResponder

Summary: Rename SonarResponder to FlipperResponder

Reviewed By: passy

Differential Revision: D9939713

fbshipit-source-id: 6792ec6529907ee98a070af9e26064bb5fcc07ef
This commit is contained in:
Pritesh Nandgaonkar
2018-09-19 16:41:37 -07:00
committed by Facebook Github Bot
parent 0e753e684f
commit 79b2cf712d
7 changed files with 46 additions and 21 deletions

View File

@@ -0,0 +1,25 @@
/*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*
*/
#import <Foundation/Foundation.h>
/**
Acts as a hook for providing return values to remote called from Sonar desktop plugins.
*/
@protocol FlipperResponder
/**
Respond with a successful return value.
*/
- (void)success:(NSDictionary *)response;
/**
Respond with an error.
*/
- (void)error:(NSDictionary *)response;
@end