Modified flushing memory logic
[platform/core/appfw/app-core.git] / include / appcore_base.h
index 3fb216e..bd8154d 100644 (file)
@@ -66,6 +66,7 @@ typedef struct _appcore_base_ops {
        void (*exit)(void *data);
        void (*set_event)(enum appcore_base_event event, void *data);
        void (*unset_event)(enum appcore_base_event event, void *data);
+       void (*trim_memory)(void *data);
 } appcore_base_ops;
 
 int appcore_base_on_receive(aul_type type, bundle *b);
@@ -75,6 +76,7 @@ int appcore_base_on_terminate(void);
 int appcore_base_on_set_i18n(void);
 void appcore_base_on_set_event(enum appcore_base_event event);
 void appcore_base_on_unset_event(enum appcore_base_event event);
+int appcore_base_on_trim_memory(void);
 int appcore_base_init(appcore_base_ops ops, int argc, char **argv, void *data);
 void appcore_base_fini(void);
 appcore_base_ops appcore_base_get_default_ops(void);