)
INCLUDE(FindPkgConfig)
-pkg_check_modules(api_pkgs REQUIRED glib-2.0 dlog dbus-1 vconf db-util contacts-service2 uw-imap-toolkit)
+pkg_check_modules(api_pkgs REQUIRED glib-2.0 dlog dbus-1 vconf db-util uw-imap-toolkit)
+
+#pkg_check_modules(api_pkgs REQUIRED glib-2.0 dlog dbus-1 vconf db-util contacts-service2 uw-imap-toolkit)
FOREACH(flag ${api_pkgs_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
)
INCLUDE(FindPkgConfig)
-pkg_check_modules(common_pkgs REQUIRED glib-2.0 dlog dbus-1 vconf contacts-service2 uw-imap-toolkit security-server libtzplatform-config)
+pkg_check_modules(common_pkgs REQUIRED glib-2.0 dlog dbus-1 vconf uw-imap-toolkit security-server libtzplatform-config)
+
+#pkg_check_modules(common_pkgs REQUIRED glib-2.0 dlog dbus-1 vconf contacts-service2 uw-imap-toolkit security-server libtzplatform-config)
FOREACH(flag ${common_pkgs_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
INCLUDE(FindPkgConfig)
-pkg_check_modules(storage_pkgs REQUIRED drm-client glib-2.0 dlog db-util openssl vconf secure-storage dbus-1 contacts-service2 libtzplatform-config)
+pkg_check_modules(storage_pkgs REQUIRED drm-client glib-2.0 dlog db-util openssl vconf secure-storage dbus-1 libtzplatform-config)
+
+#pkg_check_modules(storage_pkgs REQUIRED drm-client glib-2.0 dlog db-util openssl vconf secure-storage dbus-1 contacts-service2 libtzplatform-config)
set(EXTRA_CFLAGS "")
FOREACH(flag ${storage_pkgs_CFLAGS})
INCLUDE(FindPkgConfig)
-pkg_check_modules(core_pkgs REQUIRED glib-2.0 drm-client dlog dbus-1 gthread-2.0 uw-imap-toolkit vconf vconf-internal-keys contacts-service2 secure-storage openssl accounts-svc mm-player mm-session feedback alarm-service notification libcurl libxml-2.0 cert-svc cert-svc-vcore badge capi-appfw-application icu-i18n libtzplatform-config)
+pkg_check_modules(core_pkgs REQUIRED glib-2.0 drm-client dlog dbus-1 gthread-2.0 uw-imap-toolkit vconf vconf-internal-keys secure-storage openssl accounts-svc mm-player mm-session feedback alarm-service notification libcurl libxml-2.0 cert-svc cert-svc-vcore badge capi-appfw-application icu-i18n libtzplatform-config)
+
+
+#pkg_check_modules(core_pkgs REQUIRED glib-2.0 drm-client dlog dbus-1 gthread-2.0 uw-imap-toolkit vconf vconf-internal-keys contacts-service2 secure-storage openssl accounts-svc mm-player mm-session feedback alarm-service notification libcurl libxml-2.0 cert-svc cert-svc-vcore badge capi-appfw-application icu-i18n libtzplatform-config)
set(EXTRA_CFLAGS "")
FOREACH(flag ${core_pkgs_CFLAGS})
#include <pthread.h>
#include <vconf.h>
#include <signal.h>
-#include <contacts.h>
+//#include <contacts.h>
#include "c-client.h"
#include "email-convert.h"
#include "email-storage.h"
#include <glib/gstdio.h>
#include <vconf.h>
-#include <contacts.h>
+//#include <contacts.h>
#include "email-internal-types.h"
#include "c-client.h"
goto FINISH_OFF;
}
memset(p_address_info_list, 0x00, sizeof(email_address_info_list_t));
-
+#if 0
if ((contact_error = contacts_connect2 ()) != CONTACTS_ERROR_NONE) {
EM_DEBUG_EXCEPTION("contacts_connect2 failed [%d]", contact_error);
err = EMAIL_ERROR_DB_FAILURE;
if ((contact_error = contacts_disconnect2 ()) != CONTACTS_ERROR_NONE)
EM_DEBUG_EXCEPTION("contacts_connect2 failed [%d]", contact_error);
-
+#endif
if (failed == false)
ret = true;
EM_DEBUG_FUNC_END("err[%d]", err);
return err;
}
-
+#if 0
static int convert_contact_err_to_email_err(int contact_err)
{
int err = EMAIL_ERROR_NONE;
}
return err;
}
-
+#endif
int emcore_get_mail_contact_info(email_mail_contact_info_t *contact_info, char *full_address, int *err_code)
{
EM_DEBUG_FUNC_BEGIN_SEC("contact_info[%p], full_address[%s], err_code[%p]", contact_info, full_address, err_code);
return ret;
}
-
+#if 0
int emcore_search_contact_info(const char *contact_uri, int address_property_id, char *address, int favorite_property_id, bool is_favorite, int limit, contacts_record_h *contacts_record)
{
EM_DEBUG_FUNC_BEGIN();
return contact_err;
}
-
+#endif
int emcore_set_contacts_log(int account_id, char *email_address, char *subject, time_t date_time, email_action_t action)
{
EM_DEBUG_FUNC_BEGIN_SEC("account_id : [%d], address : [%p], subject : [%s], action : [%d], date_time : [%d]", account_id, email_address, subject, action, (int)date_time);
int err = EMAIL_ERROR_NONE;
+#if 0
int contacts_error = CONTACTS_ERROR_NONE;
int person_id = 0;
int action_type = 0;
EM_DEBUG_EXCEPTION("Open connect service failed [%d]", contacts_error);
err = convert_contact_err_to_email_err(contacts_error);
}
-
+#endif
EM_DEBUG_FUNC_END("err [%d]", err);
return err;
}
EM_DEBUG_FUNC_BEGIN("account_id [%d]", account_id);
int err = EMAIL_ERROR_NONE;
+#if 0
int contacts_error = CONTACTS_ERROR_NONE;
if ((contacts_error = contacts_connect2()) != CONTACTS_ERROR_NONE) {
EM_DEBUG_EXCEPTION("Open connect service failed [%d]", contacts_error);
err = convert_contact_err_to_email_err(contacts_error);
}
-
+#endif
EM_DEBUG_FUNC_END("err [%d]", err);
return err;
}
INTERNAL_FUNC int emcore_get_mail_display_name(char *email_address, char **contact_display_name, int *err_code)
{
EM_DEBUG_FUNC_BEGIN_SEC("contact_name_value[%s], contact_display_name[%p]", email_address, contact_display_name);
-
- int contact_err = 0;
int ret = false;
+#if 0
+ int contact_err = 0;
char *display = NULL;
/* Contact variable */
contacts_record_h record = NULL;
if (err_code != NULL)
*err_code = convert_contact_err_to_email_err(contact_err);
-
+#endif
return ret;
}
{
EM_DEBUG_FUNC_BEGIN();
int err = EMAIL_ERROR_NONE;
+#if 0
int contact_error = 0;
int person_id = 0;
int allowed_contact_type = 0; /* 0 : NONE, 1 : All contacts, 2 : Favorites, 3 : Custom */
contacts_disconnect2();
err = convert_contact_err_to_email_err(contact_error);
-
+#endif
EM_DEBUG_FUNC_END();
return err;
}
#define __EMAIL_CORE_MESSAGE_H__
#include "email-storage.h"
-#include <contacts.h>
+//#include <contacts.h>
#ifdef __cplusplus
extern "C" {
INCLUDE(FindPkgConfig)
pkg_check_modules(main_pkgs REQUIRED glib-2.0 dlog dbus-1 gthread-2.0 db-util
- openssl uw-imap-toolkit vconf vconf-internal-keys contacts-service2
+ openssl uw-imap-toolkit vconf vconf-internal-keys
alarm-service mm-player drm-client feedback msg-service
libwbxml2 libsmack notification)
+#pkg_check_modules(main_pkgs REQUIRED glib-2.0 dlog dbus-1 gthread-2.0 db-util
+# openssl uw-imap-toolkit vconf vconf-internal-keys contacts-service2
+# alarm-service mm-player drm-client feedback msg-service
+# libwbxml2 libsmack notification)
+
FOREACH(flag ${main_pkgs_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
ENDFOREACH(flag)
#include "email-debug-log.h"
#include "email-daemon-account.h"
#include "email-daemon-auto-poll.h"
-#include <contacts.h>
+//#include <contacts.h>
#include "email-types.h"
#include "email-core-account.h"
#include "email-core-event.h"
#include <pthread.h>
#include <vconf.h>
#include <signal.h>
-#include <contacts.h>
+//#include <contacts.h>
#include "c-client.h"
#include "email-convert.h"
#include "email-storage.h"
)
INCLUDE(FindPkgConfig)
-pkg_check_modules(test_app_pkgs REQUIRED glib-2.0 gthread-2.0 vconf db-util uw-imap-toolkit contacts-service2 drm-client pmapi)
+pkg_check_modules(test_app_pkgs REQUIRED glib-2.0 gthread-2.0 vconf db-util uw-imap-toolkit drm-client pmapi)
+
+#pkg_check_modules(test_app_pkgs REQUIRED glib-2.0 gthread-2.0 vconf db-util uw-imap-toolkit contacts-service2 drm-client pmapi)
FOREACH(flag ${test_app_pkgs_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")