#include <string.h>
#include <aul.h>
+#include <tizen_error.h>
#include "app_types.h"
ret = aul_get_app_shared_data_path(&path);
if (ret == AUL_R_OK && path)
set_last_result(APP_ERROR_NONE);
- else if (ret = AUL_R_EREJECTED)
+ else if (ret == AUL_R_EREJECTED)
set_last_result(APP_ERROR_NOT_SUPPORTED);
else
set_last_result(APP_ERROR_OUT_OF_MEMORY);
#include <app_internal.h>
#include <app_control_internal.h>
+#include <tizen_error.h>
+
+#include "app_extension.h"
#ifdef LOG_TAG
#undef LOG_TAG
Evas_Object *win;
if (win_name == NULL) {
- set_last_error(TIZEN_ERROR_INVALID_PARAMETER);
+ set_last_result(TIZEN_ERROR_INVALID_PARAMETER);
return NULL;
}
if (win == NULL) {
win = elm_win_add(NULL, win_name, ELM_WIN_BASIC);
if (win == NULL) {
- set_last_error(TIZEN_ERROR_IO_ERROR);
+ set_last_result(TIZEN_ERROR_IO_ERROR);
LOGE("failed to get window");
return NULL;
}
}
- set_last_error(TIZEN_ERROR_NONE);
+ set_last_result(TIZEN_ERROR_NONE);
return win;
}