Commit 451d2727 by Sebastián Katzer

Namespace geändernt

parent 1cfe5211
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" <plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
id="de.appplant.maintcall.cordova.plugin.local-notifications" id="de.appplant.cordova.plugin.local-notifications"
version="0.0.1"> version="0.0.1">
<name>LocalNotifications</name> <name>LocalNotifications</name>
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<config-file target="config.xml" parent="/*"> <config-file target="config.xml" parent="/*">
<feature name="LocalNotofication"> <feature name="LocalNotofication">
<param name="ios-package" value="CDVLocalNotification"/> <param name="ios-package" value="APPLocalNotification"/>
</feature> </feature>
</config-file> </config-file>
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
<clobbers target="plugin.notification.local" /> <clobbers target="plugin.notification.local" />
</js-module> </js-module>
<header-file src="src/ios/CDVLocalNotification.h" /> <header-file src="src/ios/APPLocalNotification.h" />
<source-file src="src/ios/CDVLocalNotification.m" /> <source-file src="src/ios/APPLocalNotification.m" />
</platform> </platform>
......
/** /**
* CDVLocalNotification.h * APPLocalNotification.h
* Cordova LocalNotification Plugin * Cordova LocalNotification Plugin
* *
* Created by Sebastian Katzer (github.com/katzer) on 10/08/2013. * Created by Sebastian Katzer (github.com/katzer) on 10/08/2013.
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#import <Cordova/CDVPlugin.h> #import <Cordova/CDVPlugin.h>
@interface CDVLocalNotification : CDVPlugin { @interface APPLocalNotification : CDVPlugin {
} }
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
@end @end
@interface CDVLocalNotification (Private) @interface APPLocalNotification (Private)
- (NSMutableDictionary*) repeatDict; - (NSMutableDictionary*) repeatDict;
- (NSMutableDictionary*) userDict:(NSMutableDictionary*)options; - (NSMutableDictionary*) userDict:(NSMutableDictionary*)options;
......
/** /**
* CDVLocalNotification.h * APPLocalNotification.m
* Cordova LocalNotification Plugin * Cordova LocalNotification Plugin
* *
* Created by Sebastian Katzer (github.com/katzer) on 10/08/2013. * Created by Sebastian Katzer (github.com/katzer) on 10/08/2013.
...@@ -7,17 +7,17 @@ ...@@ -7,17 +7,17 @@
* GPL v2 licensed * GPL v2 licensed
*/ */
#import "CDVLocalNotification.h" #import "APPLocalNotification.h"
@implementation CDVLocalNotification @implementation APPLocalNotification
/** /**
* Fügt eine neue Notification-Eintrag hinzu. * Fügt eine neue Notification-Eintrag hinzu.
* *
* @param {NSMutableDictionary} options * @param {NSMutableDictionary} options
*/ */
- (void) addNotification:(CDVInvokedUrlCommand*)command { - (void) add:(CDVInvokedUrlCommand*)command {
NSArray *arguments = [command arguments]; NSArray *arguments = [command arguments];
NSMutableDictionary *options = [arguments objectAtIndex:0]; NSMutableDictionary *options = [arguments objectAtIndex:0];
UILocalNotification *notification = [this prepareNotification:options]; UILocalNotification *notification = [this prepareNotification:options];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment