Migrate from 2.4 code repo
[platform/core/context/context-service.git] / src / context_trigger / timer_types.h
1 /*
2  * Copyright (c) 2014 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef __CONTEXT_TIMER_TYPES_H__
18 #define __CONTEXT_TIMER_TYPES_H__
19
20 #define TIMER_EVENT_SUBJECT "timer/event"
21 #define TIMER_CONDITION_SUBJECT "timer/state"
22
23 #define TIMER_RESPONSE_KEY_TIME_OF_DAY "TimeOfDay"
24 #define TIMER_RESPONSE_KEY_DAY_OF_WEEK "DayOfWeek"
25 #define TIMER_RESPONSE_KEY_DAY_OF_MONTH "DayOfMonth"
26
27 #define TIMER_EVENT_REQ_ID -1
28
29 #define TIMER_MON "Mon"
30 #define TIMER_TUE "Tue"
31 #define TIMER_WED "Wed"
32 #define TIMER_THU "Thu"
33 #define TIMER_FRI "Fri"
34 #define TIMER_SAT "Sat"
35 #define TIMER_SUN "Sun"
36 #define TIMER_WEEKDAY "Weekday"
37 #define TIMER_WEEKEND "Weekend"
38 #define TIMER_EVERYDAY "Everyday"
39
40 #endif  //__CONTEXT_TIMER_TYPES_H__