Update change log and spec for wrt-plugins-tizen_0.2.71
[profile/ivi/wrt-plugins-tizen.git] / src / platform / Tizen / Contact / query-svc / query-type.h
index ca8c6db..4e7009d 100755 (executable)
@@ -160,7 +160,7 @@ typedef enum
        DATATYPE_BIRTH_DAY = 0x00000080,
        DATATYPE_ANNIVERSARY = 0x0000100,
        DATATYPE_IM_ADDR = 0x0000200,
-//     DATATYPE_LBS_INFO = 0x00000400,
+       DATATYPE_NOTE = 0x00000400,
        DATATYPE_CATEGORY = 0x00000800,
        DATATYPE_X_ATTRIBUTE = 0x80000000,
 }predefine_datatype;
@@ -176,7 +176,8 @@ typedef enum
        DB_DATATYPE_ORGANIZATION,
        DB_DATATYPE_NICK_NAME,
        DB_DATATYPE_NUMBER,
-       DB_DATATYPE_EMAIL,
+       DB_DATATYPE_EMAIL = 9,
+       DB_DATATYPE_NOTE = 12,
 
 //     DB_DATATYPE_LBS_INFO,
 //     DB_DATATYPE_CATEGORY,
@@ -222,8 +223,8 @@ static char* number_type_str[MAX_NUMBER_TYPE] =
 typedef enum
 {
        EMAIL_TYPE_NONE         = 0x00000000,
-       EMAIL_HOME                      = 0x00000001,
-       EMAIL_WORK                      = 0x00000002,
+       EMAIL_HOME                      = 0x00000002,
+       EMAIL_WORK                      = 0x00000004,
 }email_type;
 
 static char* email_type_str[MAX_EMAIL_TYPE] =
@@ -250,7 +251,7 @@ static char* url_type_str[URL_TYPE_MAX] =
 
 typedef enum
 {
-       EVENT_BIRTHDAY = 0,
+       EVENT_BIRTHDAY = 2,
        EVENT_ANNIVERSARY,
        EVENT_TYPE_MAX
 }event_type;
@@ -550,6 +551,8 @@ typedef struct
 {
        query_type_e query_type;
        stmt    hstmt;
+       int set_number_pref;
+       int set_email_pref;
 
 // result set
        int pos;                                //array index of ordering list