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:
Shazron Abdullah
2011-06-29 15:45:58 -07:00
2 changed files with 4 additions and 4 deletions

6
iPhone/MapKitPlug/src/MapKit.h Executable file → Normal file
View 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
View File

@@ -25,7 +25,7 @@
@synthesize imageButton;
-(PhoneGapCommand*) initWithWebView:(UIWebView*)theWebView
-(PGPlugin*) initWithWebView:(UIWebView*)theWebView
{
self = (MapKitView*)[super initWithWebView:theWebView];
return self;