diff options
-rw-r--r-- | include/app_internal.h | 10 | ||||
-rwxr-xr-x | src/app_main.c | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/include/app_internal.h b/include/app_internal.h index bdd09fe..8933d11 100644 --- a/include/app_internal.h +++ b/include/app_internal.h @@ -20,7 +20,6 @@ #include <app.h> #include <appcore-common.h> -#include <tzplatform_config.h> /* GNU gettext macro is already defined at appcore-common.h */ #ifdef _ @@ -33,15 +32,6 @@ extern "C" { #define TIZEN_PATH_MAX 1024 -#define PATH_FMT_APP_ROOT tzplatform_getenv(TZ_USER_APP) -#define PATH_FMT_RES_DIR "/res" -#define PATH_FMT_LOCALE_DIR "/locale" -#define PATH_FMT_DATA_DIR "/data" - -#define PATH_FMT_RO_APP_ROOT tzplatform_getenv(TZ_SYS_RO_APP) -#define PATH_FMT_RO_RES_DIR "/res" -#define PATH_FMT_RO_LOCALE_DIR "/local" - struct app_event_handler { app_event_type_e type; app_event_cb cb; diff --git a/src/app_main.c b/src/app_main.c index d6ae3af..9081b8a 100755 --- a/src/app_main.c +++ b/src/app_main.c @@ -27,6 +27,7 @@ #include <appcore-efl.h> #include <aul.h> #include <dlog.h> +#include <tzplatform_config.h> #include <Elementary.h> @@ -44,6 +45,15 @@ #define UI_APP_EVENT_MAX 7 +#define PATH_FMT_APP_ROOT tzplatform_getenv(TZ_USER_APP) +#define PATH_FMT_RES_DIR "/res" +#define PATH_FMT_LOCALE_DIR "/locale" +#define PATH_FMT_DATA_DIR "/data" + +#define PATH_FMT_RO_APP_ROOT tzplatform_getenv(TZ_SYS_RO_APP) +#define PATH_FMT_RO_RES_DIR "/res" +#define PATH_FMT_RO_LOCALE_DIR "/local" + typedef enum { APP_STATE_NOT_RUNNING, /* The application has been launched or was running but was terminated */ APP_STATE_CREATING, /* The application is initializing the resources on app_create_cb callback */ |