SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
ENDFOREACH(flag)
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Wall -Werror")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC -Wall -Werror -Wno-error=deprecated-declarations")
SET(CMAKE_C_FLAGS_DEBUG "-O0 -g")
IF("${ARCH}" STREQUAL "arm")
int alarm_schedule_at_date(app_control_h app_control, struct tm *date, int period_in_second, int *alarm_id)
{
+ dlog_print(DLOG_WARN, LOG_TAG, "DEPRECATION WARNING: alarm_schedule_at_date() is deprecated and will be removed from next release. Use alarm_schedule_once_at_date() instead.");
alarm_date_t internal_time;
alarm_entry_t *alarm_info;
bundle *bundle_data;
ENDFOREACH(flag)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -fPIC ")
-SET(CMAKE_C_FLAGS_DEBUG "-O0 -g -Wall -Werror")
+SET(CMAKE_C_FLAGS_DEBUG "-O0 -g -Wall -Werror -Wno-error=deprecated-declarations")
IF("${ARCH}" STREQUAL "arm")
ADD_DEFINITIONS("-DTARGET")
#include <string.h>
#include <aul.h>
#include <tizen_error.h>
+#include <dlog.h>
#include "app_types.h"
+#ifdef LOG_TAG
+#undef LOG_TAG
+#endif
+
+#define LOG_TAG "CAPI_APPFW_APPLICATION"
+
#define _STRDUP(s) ((s) ? strdup(s) : NULL)
char *app_get_data_path(void)
char *app_get_external_shared_data_path(void)
{
+ dlog_print(DLOG_WARN, LOG_TAG, "DEPRECATION WARNING: app_get_external_shared_data_path() is deprecated and will be removed from next release.");
const char *buf = aul_get_app_external_shared_data_path();
return _STRDUP(buf);
}
* @see alarm_get_scheduled_date()
* @see alarm_get_scheduled_period()
*/
-int alarm_schedule_at_date(app_control_h app_control, struct tm *date, int period, int *alarm_id);
+int alarm_schedule_at_date(app_control_h app_control, struct tm *date, int period, int *alarm_id) TIZEN_DEPRECATED_API;
/**
* @brief Sets an alarm to be triggered after a specific time.
* @return The absolute path to the application's external shared data directory, @n
* otherwise a null pointer if the memory is insufficient
*/
-char *app_get_external_shared_data_path(void);
+char *app_get_external_shared_data_path(void) TIZEN_DEPRECATED_API;
/**
* @brief Gets the absolute path to the application's TEP(Tizen Expansion Package) directory.