* @retval #ACCOUNT_ERROR_DB_NOT_OPENED DB is not connected
* @retval #ACCOUNT_ERROR_PERMISSION_DENIED DB Access fail by permission
*/
-int account_connect(void);
+int account_connect(void) TIZEN_DEPRECATED_API;
/**
* @retval #ACCOUNT_ERROR_DB_NOT_OPENED DB is not connected
* @retval #ACCOUNT_ERROR_PERMISSION_DENIED DB Access fail by permission
*/
-int account_connect_readonly(void);
+int account_connect_readonly(void) TIZEN_DEPRECATED_API;
/**
* @retval #ACCOUNT_ERROR_PERMISSION_DENIED DB Access fail by permission
* @retval #ACCOUNT_ERROR_DATABASE_BUSY SQLite busy handler exprired
*/
-int account_disconnect(void);
+int account_disconnect(void) TIZEN_DEPRECATED_API;
/**
* @brief Creates a handle to the account.
Name: libaccount-service
Summary: Account DB library
-Version: 0.4.7
+Version: 0.4.8
Release: 1
Group: Social & Content/API
License: Apache-2.0
MESSAGE("[i386] Compile")
ENDIF ("${ARCH}" STREQUAL "arm")
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -Werror")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -Werror -Wno-error=deprecated-declarations")
SET(CMAKE_LDFLAGS "-Wl,-zdefs")
ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
#ifdef TIZEN_PROFILE_MOBILE
ACCOUNT_API int account_connect(void)
{
+ _INFO("DEPRECATION WARNING: account_connect() is deprecated and will be removed from next release.");
return ACCOUNT_ERROR_NONE;
}
ACCOUNT_API int account_connect_readonly(void)
{
+ _INFO("DEPRECATION WARNING: account_connect_readonly() is deprecated and will be removed from next release.");
return ACCOUNT_ERROR_NONE;
}
ACCOUNT_API int account_disconnect(void)
{
+ _INFO("DEPRECATION WARNING: account_disconnect() is deprecated and will be removed from next release.");
return ACCOUNT_ERROR_NONE;
}
#endif