Authored by 孟顺

cordova 库引入头文件方式修改

review by 枪兵
... ... @@ -17,7 +17,7 @@
under the License.
*/
#import <Cordova/CDVPlugin.h>
#import <CDVPlugin.h>
@interface CDVGestureHandler : CDVPlugin
... ...
... ... @@ -17,7 +17,7 @@
under the License.
*/
#import <Cordova/CDVPlugin.h>
#import <CDVPlugin.h>
@interface CDVHandleOpenURL : CDVPlugin
... ...
... ... @@ -18,7 +18,7 @@
*/
#import "CDVHandleOpenURL.h"
#import <Cordova/CDV.h>
#import <CDV.h>
@implementation CDVHandleOpenURL
... ...
... ... @@ -17,8 +17,8 @@
under the License.
*/
#import <Cordova/CDVPlugin.h>
#import <Cordova/CDVWhitelist.h>
#import <CDVPlugin.h>
#import <CDVWhitelist.h>
typedef NS_ENUM(NSInteger, CDVIntentAndNavigationFilterValue) {
CDVIntentAndNavigationFilterValueIntentAllowed,
... ...
... ... @@ -18,7 +18,7 @@
*/
#import "CDVIntentAndNavigationFilter.h"
#import <Cordova/CDV.h>
#import <CDV.h>
@interface CDVIntentAndNavigationFilter ()
... ...
... ... @@ -17,7 +17,7 @@
under the License.
*/
#import <Cordova/CDVPlugin.h>
#import <CDVPlugin.h>
#define kCDVLocalStorageErrorDomain @"kCDVLocalStorageErrorDomain"
#define kCDVLocalStorageFileOperationError 1
... ...
... ... @@ -18,7 +18,7 @@
*/
#import "CDVLocalStorage.h"
#import <Cordova/CDV.h>
#import <CDV.h>
@interface CDVLocalStorage ()
... ...
... ... @@ -17,7 +17,7 @@
under the License.
*/
#import <Cordova/CDVPlugin.h>
#import <CDVPlugin.h>
@interface CDVLogger : CDVPlugin
... ...
... ... @@ -18,7 +18,7 @@
*/
#import <UIKit/UIKit.h>
#import <Cordova/CDVAvailability.h>
#import <CDVAvailability.h>
/**
* Distinguishes top-level navigations from sub-frame navigations.
... ...
... ... @@ -17,8 +17,8 @@
under the License.
*/
#import <Cordova/CDVPlugin.h>
#import <Cordova/CDVWebViewEngineProtocol.h>
#import <CDVPlugin.h>
#import <CDVWebViewEngineProtocol.h>
@interface CDVUIWebViewEngine : CDVPlugin <CDVWebViewEngineProtocol>
... ...
... ... @@ -18,9 +18,9 @@
*/
#import "CDVUIWebViewNavigationDelegate.h"
#import <Cordova/CDVViewController.h>
#import <Cordova/CDVCommandDelegateImpl.h>
#import <Cordova/CDVUserAgentUtil.h>
#import <CDVViewController.h>
#import <CDVCommandDelegateImpl.h>
#import <CDVUserAgentUtil.h>
#import <objc/message.h>
@implementation CDVUIWebViewNavigationDelegate
... ...
... ... @@ -18,7 +18,7 @@
*/
#import <WebKit/WebKit.h>
#import <Cordova/CDV.h>
#import <CDV.h>
@interface CDVWKWebViewEngine : CDVPlugin <CDVWebViewEngineProtocol, WKScriptMessageHandler, WKNavigationDelegate>
... ...
... ... @@ -20,7 +20,7 @@
#import "CDVWKWebViewEngine.h"
#import "CDVWKWebViewUIDelegate.h"
#import "CDVWKProcessPoolFactory.h"
#import <Cordova/NSDictionary+CordovaPreferences.h>
#import <NSDictionary+CordovaPreferences.h>
#import <objc/message.h>
... ...
... ... @@ -19,7 +19,6 @@
#import "CDVAvailability.h"
#import "CDVAvailabilityDeprecated.h"
#import "CDVAppDelegate.h"
#import "CDVPlugin.h"
#import "CDVPluginResult.h"
#import "CDVViewController.h"
... ...
... ... @@ -27,25 +27,24 @@ FOUNDATION_EXPORT const unsigned char CordovaVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <Cordova/PublicHeader.h>
#import <Cordova/CDV.h>
#import <Cordova/CDVCommandDelegateImpl.h>
#import <Cordova/CDVAvailability.h>
#import <Cordova/CDVAvailabilityDeprecated.h>
#import <Cordova/CDVAppDelegate.h>
#import <Cordova/CDVPlugin.h>
#import <Cordova/CDVPluginResult.h>
#import <Cordova/CDVViewController.h>
#import <Cordova/CDVCommandDelegate.h>
#import <Cordova/CDVCommandQueue.h>
#import <Cordova/CDVConfigParser.h>
#import <Cordova/CDVURLProtocol.h>
#import <Cordova/CDVInvokedUrlCommand.h>
#import <Cordova/CDVPlugin+Resources.h>
#import <Cordova/CDVWebViewEngineProtocol.h>
#import <Cordova/NSDictionary+CordovaPreferences.h>
#import <Cordova/NSMutableArray+QueueAdditions.h>
#import <Cordova/CDVUIWebViewDelegate.h>
#import <Cordova/CDVWhitelist.h>
#import <Cordova/CDVScreenOrientationDelegate.h>
#import <Cordova/CDVTimer.h>
#import <Cordova/CDVUserAgentUtil.h>
#import <CDV.h>
#import <CDVCommandDelegateImpl.h>
#import <CDVAvailability.h>
#import <CDVAvailabilityDeprecated.h>
#import <CDVPlugin.h>
#import <CDVPluginResult.h>
#import <CDVViewController.h>
#import <CDVCommandDelegate.h>
#import <CDVCommandQueue.h>
#import <CDVConfigParser.h>
#import <CDVURLProtocol.h>
#import <CDVInvokedUrlCommand.h>
#import <CDVPlugin+Resources.h>
#import <CDVWebViewEngineProtocol.h>
#import <NSDictionary+CordovaPreferences.h>
#import <NSMutableArray+QueueAdditions.h>
#import <CDVUIWebViewDelegate.h>
#import <CDVWhitelist.h>
#import <CDVScreenOrientationDelegate.h>
#import <CDVTimer.h>
#import <CDVUserAgentUtil.h>
... ...