mirror of
https://github.com/purplecabbage/phonegap-plugins.git
synced 2026-01-15 01:08:17 -05:00
34 lines
744 B
Objective-C
Executable File
34 lines
744 B
Objective-C
Executable File
//
|
|
// LocalNotification.h
|
|
// Phonegap LocalNotification Plugin
|
|
// Copyright (c) Greg Allen 2011 & 2012 Drew Dahlman
|
|
// MIT Licensed
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
/* FOR PHONEGAP 1.4 < */
|
|
#ifdef PHONEGAP_FRAMEWORK
|
|
#import <PhoneGap/PGPlugin.h>
|
|
#else
|
|
#import "PGPlugin.h"
|
|
#endif
|
|
|
|
/*
|
|
UNCOMMENT FOR CORDOVA
|
|
|
|
#ifdef CORDOVA_FRAMEWORK
|
|
#import <Cordova/CDVPlugin.h>
|
|
#else
|
|
#import "CDVPlugin.h"
|
|
#endif
|
|
|
|
*/
|
|
@interface LocalNotification : PGPlugin {
|
|
|
|
}
|
|
- (void)addNotification:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
- (void)cancelNotification:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
- (void)cancelAllNotifications:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
|
|
|
|
@end
|