1e84d1cb9408ce9849a2bcc0fe09c743ea709dbd
[profile/ivi/wrt-plugins-tizen.git] / src / platform / API / Call / CallDefine.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  */
16
17
18 #ifndef TIZENAPIS_API_CALL_DEFINE_H_
19 #define TIZENAPIS_API_CALL_DEFINE_H_
20
21 namespace {
22
23 #define STR_TIZEN_TEL                   "tizen.tel"
24 #define STR_TIZEN_XMPP                  "tizen.xmpp"
25 #define STR_TIZEN_SIP                   "tizen.sip"
26
27 #define STR_CALL                                "call"
28 #define STR_CALL_VOICE                  "call.voice"
29 #define STR_CALL_VIDEO                  "call.video"
30 #define STR_CALL_EMERGENCY              "call.emergency"
31
32 #define STR_DIALED                      "dialed"
33 #define STR_RECEIVED                    "received"
34 #define STR_MISSED_NEW                  "missed-new"
35 #define STR_MISSED                      "missed"
36 #define STR_REJECTED                    "rejected"
37 #define STR_BLOCKED                     "blocked"
38
39 #define STR_BASE_QUERY                  "SELECT id, log_type, person_id, number, log_time, data1 FROM phonelogs"
40
41 #define STR_ENTRY_ID                    "uid"
42 #define STR_SERVICE_ID                  "serviceId"
43 #define STR_CALL_TYPE                   "callType"
44 #define STR_TAGS                        "tags"
45 #define STR_REMOTE_PARTIES              "remoteParties"
46 #define STR_FORWARDEDFROM               "forwardedFrom"
47 #define STR_START_TIME                  "startTime"
48 #define STR_DURATION                    "duration"
49 #define STR_END_REASON                  "endReason"
50 #define STR_DIRECTION                   "direction"
51 #define STR_RECORDING                   "recording"
52 #define STR_COST                        "cost"
53 #define STR_CURRENCY                    "currency"
54
55 #define STR_REMOTE_PARTY                "remoteParty"
56 #define STR_DISPLAY_NAME                "displayName"
57 #define STR_CONTACT_REF         "contactRef"
58
59 #define STR_RP_REMOTEPARTY              "remoteParties.remoteParty"
60 #define STR_RP_CONTACTREF               "remoteParties.contactRef.contactId"
61
62 #define STR_LOG_ID                      "id"
63 #define STR_NUMBER                      "number"
64 #define STR_LOG_TIME                    "log_time"
65 #define STR_LOG_TYPE                    "log_type"
66 #define STR_DATA1                       "data1"
67 #define STR_PERSON_ID                   "person_id"
68
69 #define STR_TEL_URI                     "tel://"
70 #define STR_TIZEN_DIALER                "org.tizen.phone"
71
72 #define STR_SERVICE_NAME                "serviceName"
73 #define STR_PROVIDER_ID                 "providerId"
74
75 #define STR_HISTORY                     "history"
76 #define STR_SERVICE_NAME                "serviceName"
77 #define STR_SERVICE                     "service"
78 #define STR_VOICEMAIL_NUMBERS           "voicemailNumbers"
79 #define STR_SUBSCRIBER_NUMBERS  "subscriberNumbers"
80 #define STR_EMERGENCY_NUMBERS   "emergencyNumbers"
81 }
82
83 #endif