forked from tidev/titanium-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCalendarModule.h
57 lines (41 loc) · 1.82 KB
/
CalendarModule.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2009-2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
#import "TiModule.h"
#ifdef USE_TI_CALENDAR
#import <EventKit/EventKit.h>
#import "TiCalendarCalendar.h"
#import "TiCalendarAlert.h"
#import "TiCalendarEvent.h"
#import "TiCalendarReminder.h"
@interface CalendarModule : TiModule {
@private
EKEventStore * store;
//BOOL need boolean to support refresh option from Calendar module
BOOL iOS6API;
}
-(EKEventStore*)store;
@property (nonatomic, readonly)NSNumber* STATUS_NONE;
@property (nonatomic, readonly)NSNumber* STATUS_CONFIRMED;
@property (nonatomic, readonly)NSNumber* STATUS_TENTATIVE;
@property (nonatomic, readonly)NSNumber* STATUS_CANCELED;
@property (nonatomic, readonly)NSNumber* AVAILABILITY_NOTSUPPORTED;
@property (nonatomic, readonly)NSNumber* AVAILABILITY_BUSY;
@property (nonatomic, readonly)NSNumber* AVAILABILITY_FREE;
@property (nonatomic, readonly)NSNumber* AVAILABILITY_TENTATIVE;
@property (nonatomic, readonly)NSNumber* AVAILABILITY_UNAVAILABLE;
@property (nonatomic, readonly)NSNumber* SPAN_THISEVENT;
@property (nonatomic, readonly)NSNumber* SPAN_FUTUREEVENTS;
@property (nonatomic, readonly)NSNumber* RECURRENCEFREQUENCY_DAILY;
@property (nonatomic, readonly)NSNumber* RECURRENCEFREQUENCY_WEEKLY;
@property (nonatomic, readonly)NSNumber* RECURRENCEFREQUENCY_MONTHLY;
@property (nonatomic, readonly)NSNumber* RECURRENCEFREQUENCY_YEARLY;
@property (nonatomic, readonly)NSNumber* AUTHORIZATION_UNKNOWN;
@property (nonatomic, readonly)NSNumber* AUTHORIZATION_RESTRICTED;
@property (nonatomic, readonly)NSNumber* AUTHORIZATION_DENIED;
@property (nonatomic, readonly)NSNumber* AUTHORIZATION_AUTHORIZED;
@end
#endif