forked from felix-digitalkarma/Phonegap-Calendar-Plugin-ios
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcalendarPlugin.h
executable file
·33 lines (24 loc) · 1013 Bytes
/
calendarPlugin.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
// calendarPlugin.h
// Author: Felix Montanez
// Date: 01-17-2011
// Notes:
//
#import <Foundation/Foundation.h>
#import <Cordova/CDVPlugin.h>
#import <EventKitUI/EventKitUI.h>
#import <EventKit/EventKit.h>
@interface calendarPlugin : CDVPlugin
@property (nonatomic, retain) EKEventStore* eventStore;
- (void)initEventStoreWithCalendarCapabilities;
-(NSArray*)findEKEventsWithTitle: (NSString *)title
location: (NSString *)location
message: (NSString *)message
startDate: (NSDate *)startDate
endDate: (NSDate *)endDate;
// Calendar Instance methods
- (void)createEvent:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
- (void)modifyEvent:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
- (void)findEvent:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
- (void)deleteEvent:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
@end