X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fappcore-efl.h;h=393cf934a68742e05d035333e29c357305442570;hb=d6a09f48f7ced6a16793fc4fc0f99aa21bac25ac;hp=794734a2b5ed677a0fd3a65c4608bc0a52c7913c;hpb=f1b407a4f4a9e62a352bf67285e0286a38cbe7f9;p=platform%2Fcore%2Fappfw%2Fapp-core.git diff --git a/include/appcore-efl.h b/include/appcore-efl.h index 794734a..393cf93 100644 --- a/include/appcore-efl.h +++ b/include/appcore-efl.h @@ -52,6 +52,12 @@ extern "C" { #endif +int appcore_efl_init(const char *name, int *argc, char ***argv, + struct appcore_ops *ops); + +void appcore_efl_fini(void); + + /** * @par Description: * This is a main function for EFL application on SLP platform. \n @@ -61,7 +67,7 @@ extern "C" { * To develop an application using EFL on this platform. * * @par Method of function operation: - * Initialize the EFL, internationalization, and notifications + * Initialize the EFL, internationalization, and notifications * for receiving system events such as rotation, low battery, etc.\n * And, start an ecore mainloop. * @@ -120,42 +126,6 @@ int main(int argc, char *argv[]) int appcore_efl_main(const char *name, int *argc, char ***argv, struct appcore_ops *ops); -/** - * @par Description: - * This API sets system resource reclaiming. - * - * @par Purpose: - * When this is not enabled, the application doesn't reclaim system resource. - * - * @param[in] enable Application name - * - * @return 0 on success, -1 on error (errno set) - * - * - * @pre None. - * @post None. - * @see None. - * @remarks None. - * - * @par Sample code: - * @code -#include - -int _create(void *data) -{ - int r; - - ... - r = appcore_set_system_resource_reclaiming(FALSE); - if (r) { - // add exception handling - perror("appcore_set_system_resource_reclaiming"); - } - ... -} - * @endcode - * - */ int appcore_set_system_resource_reclaiming(bool enable); #ifdef __cplusplus @@ -167,4 +137,4 @@ int appcore_set_system_resource_reclaiming(bool enable); /** * @} */ -#endif /* __APPCORE_ELF_H__ */ +#endif /* __APPCORE_ELF_H__ */