forked from felix-digitalkarma/Phonegap-Calendar-Plugin-ios
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcalendarPlugin.h
43 lines (29 loc) · 1 KB
/
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
34
35
36
37
38
39
40
41
42
43
//
// calendarPlugin.h
// Author: Felix Montanez
// Date: 01-17-2011
// Notes:
//
#import <Foundation/Foundation.h>
#ifdef CORDOVA_FRAMEWORK
#import <Cordova/CDVPlugin.h>
#else
#import "CDVPlugin.h"
#endif
#import <EventKitUI/EventKitUI.h>
#import <EventKit/EventKit.h>
@interface calendarPlugin : CDVPlugin <EKEventEditViewDelegate> {
EKEventStore *eventStore;
EKCalendar *defaultCalendar;
//NSArray *events;
//future plan to have global type variables
}
@property (nonatomic,retain) EKEventStore *eventStore;
@property (nonatomic,retain) EKCalendar *defaultCalendar;
//-(NSArray *)fetchEvents;
// 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