Fix appcore base
[platform/core/appfw/app-core.git] / include / appcore_base.h
index a3a53ea..795b18a 100644 (file)
@@ -60,7 +60,7 @@ typedef struct _appcore_base_ops {
        int (*control) (bundle *b, void *data);
        int (*receive)(aul_type type, bundle *b, void *data);
        int (*set_i18n)(void *data);
-       int (*init)(int argc, char **argv, void *data);
+       void (*init)(int argc, char **argv, void *data);
        void (*finish)(void);
        void (*run)(void *data);
        void (*exit)(void *data);
@@ -88,7 +88,7 @@ bool appcore_base_is_bg_allowed(void);
 bool appcore_base_is_suspended(void);
 void appcore_base_toggle_suspended_state(void);
 int appcore_base_set_i18n(const char *domain_name, const char *dir_name);
-
+void appcore_base_exit(void);
 
 #ifdef __cplusplus
 }