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
* 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.
*
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 (<I>errno</I> set)
- *
- *
- * @pre None.
- * @post None.
- * @see None.
- * @remarks None.
- *
- * @par Sample code:
- * @code
-#include <appcore-efl.h>
-
-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
/**
* @}
*/
-#endif /* __APPCORE_ELF_H__ */
+#endif /* __APPCORE_ELF_H__ */