merge wrt-plugins-tizen_0.2.0-4
[profile/ivi/wrt-plugins-tizen.git] / src / standards / Tizen / Alarm / alarm_common.h
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
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  */\r
16  \r
17 \r
18 #ifndef TIZENAPIS_API_ALARM_COMMON_H_\r
19 #define TIZENAPIS_API_ALARM_COMMON_H_\r
20 \r
21 namespace TizenApis {
22 namespace Tizen1_0 {
23 namespace Alarm {\r
24 \r
25 // Alarm Type\r
26 #define ALARM_TYPE_KEY "TYPE"\r
27 #define ALARM_TYPE_ABSOLUTE_VALUE "ABSOLUTE"\r
28 #define ALARM_TYPE_RELATIVE_VALUE "RELATIVE"\r
29 \r
30 // Absolute Alarm Recurrence\r
31 #define ALARM_ALSOLUTE_RECURRENCE_TYPE_KEY "RECURRENCE"\r
32 #define ALARM_ALSOLUTE_RECURRENCE_TYPE_INTERVAL "INTERVAL"\r
33 #define ALARM_ALSOLUTE_RECURRENCE_TYPE_BYDAYVALUE "BYDAYVALUE"\r
34 #define ALARM_ALSOLUTE_RECURRENCE_TYPE_NONE "NONE"\r
35 #define ALARM_ABSOLUTE_FREQUENCY_KEY "FREQUENCY"\r
36 #define ALARM_ABSOLUTE_FREQUENCY_INTERVAL "FREQUENCY_INTERVAL"\r
37 #define ALARM_ALSOLUTE_DATE_KEY "DATE"\r
38 \r
39 // Relative Alarm Delay\r
40 #define ALARM_RELATIVE_DELAY_KEY "RELATIVE_DELAY"\r
41 \r
42 // Frequency\r
43 #define ALARM_PROPERTY_MINUTELY_RECURRENCE    "MINUTELY"\r
44 #define ALARM_PROPERTY_HOURLY_RECURRENCE    "HOURLY"\r
45 #define ALARM_PROPERTY_DAILY_RECURRENCE    "DAILY"\r
46 #define ALARM_PROPERTY_WEEKLY_RECURRENCE   "WEEKLY"\r
47 #define ALARM_PROPERTY_MONTHLY_RECURRENCE  "MONTHLY"\r
48 #define ALARM_PROPERTY_YEARLY_RECURRENCE   "YEARLY"\r
49 \r
50 namespace AbsoluteRecurrence \r
51 {\r
52     typedef enum\r
53     {\r
54         NoRecurrence,\r
55         ByDayValue,\r
56         Interval,\r
57     }Type;\r
58 }\r
59 \r
60 }\r
61 }\r
62 }\r
63 #endif\r