mirror of
https://github.com/purplecabbage/phonegap-plugins.git
synced 2026-04-24 03:00:11 -04:00
Merge pull request #55 from vzwick/patch-13
Updating to PGPlugin base class, cf [Issue #44](https://github.com/phoneg
This commit is contained in:
6
iPhone/MapKitPlug/src/MapKit.h
Executable file → Normal file
6
iPhone/MapKitPlug/src/MapKit.h
Executable file → Normal file
@@ -8,12 +8,12 @@
|
||||
#import <MapKit/MapKit.h>
|
||||
|
||||
#ifdef PHONEGAP_FRAMEWORK
|
||||
#import <PhoneGap/PhoneGapCommand.h>
|
||||
#import <PhoneGap/PGPlugin.h>
|
||||
#else
|
||||
#import "PhoneGapCommand.h"
|
||||
#import "PGPlugin.h"
|
||||
#endif
|
||||
|
||||
@interface MapKitView : PhoneGapCommand <MKMapViewDelegate>
|
||||
@interface MapKitView : PGPlugin <MKMapViewDelegate>
|
||||
{
|
||||
UIView* childView;
|
||||
MKMapView* mapView;
|
||||
|
||||
2
iPhone/MapKitPlug/src/MapKit.m
Executable file → Normal file
2
iPhone/MapKitPlug/src/MapKit.m
Executable file → Normal file
@@ -25,7 +25,7 @@
|
||||
@synthesize imageButton;
|
||||
|
||||
|
||||
-(PhoneGapCommand*) initWithWebView:(UIWebView*)theWebView
|
||||
-(PGPlugin*) initWithWebView:(UIWebView*)theWebView
|
||||
{
|
||||
self = (MapKitView*)[super initWithWebView:theWebView];
|
||||
return self;
|
||||
|
||||
Reference in New Issue
Block a user