summaryrefslogtreecommitdiff
path: root/plugins/phonegap-plugin-push/src/ios/AppDelegate+notification.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/phonegap-plugin-push/src/ios/AppDelegate+notification.h')
-rw-r--r--plugins/phonegap-plugin-push/src/ios/AppDelegate+notification.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/plugins/phonegap-plugin-push/src/ios/AppDelegate+notification.h b/plugins/phonegap-plugin-push/src/ios/AppDelegate+notification.h
new file mode 100644
index 00000000..695e9384
--- /dev/null
+++ b/plugins/phonegap-plugin-push/src/ios/AppDelegate+notification.h
@@ -0,0 +1,22 @@
+//
+// AppDelegate+notification.h
+// pushtest
+//
+// Created by Robert Easterday on 10/26/12.
+//
+//
+
+#import "AppDelegate.h"
+
+@interface AppDelegate (notification)
+- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken;
+- (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error;
+- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo;
+- (void)applicationDidBecomeActive:(UIApplication *)application;
+- (void)application:(UIApplication *)application didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings;
+- (void)application:(UIApplication *)application handleActionWithIdentifier:(NSString *)identifier forRemoteNotification:(NSDictionary *)userInfo completionHandler:(void(^)())completionHandler;
+- (id) getCommandInstance:(NSString*)className;
+
+@property (nonatomic, retain) NSDictionary *launchNotification;
+
+@end