efl/legacy/elementary/src/lib/elm_need.h

82 lines
2.4 KiB
C

/**
* Request that your elementary application needs Efreet
*
* This initializes the Efreet library when called and if support exists
* it returns EINA_TRUE, otherwise returns EINA_FALSE. This must be called
* before any efreet calls.
*
* @return EINA_TRUE if support exists and initialization succeeded.
*
* @ingroup Efreet
*/
EAPI Eina_Bool elm_need_efreet(void);
/**
* Request that your elementary application needs Elm_Sys_Notify
*
* This initializes the Elm_Sys_Notify when called and if support exists
* it returns EINA_TRUE, otherwise returns EINA_FALSE. This must be called
* before any elm_sys_notify calls.
*
* @return EINA_TRUE if support exists and initialization succeeded.
*
* @ingroup Elm_Sys_Notify
* @since 1.8
*/
EAPI Eina_Bool elm_need_sys_notify(void);
/**
* Request that your elementary application needs e_dbus
*
* This initializes the E_dbus library when called and if support exists
* it returns EINA_TRUE, otherwise returns EINA_FALSE. This must be called
* before any e_dbus calls.
*
* @return EINA_TRUE if support exists and initialization succeeded.
*
* @deprecated use elm_need_edbus() for EDBus (v2) support. Old API is
* deprecated.
*
* @ingroup E_dbus
*/
EAPI Eina_Bool elm_need_e_dbus(void) EINA_DEPRECATED;
/**
* Request that your elementary application needs edbus
*
* This initializes the edbus (aka v2) library when called and if
* support exists it returns EINA_TRUE, otherwise returns
* EINA_FALSE. This must be called before any edbus calls.
*
* @return EINA_TRUE if support exists and initialization succeeded.
*
* @since 1.8.0
*
* @ingroup edbus
*/
EAPI Eina_Bool elm_need_edbus(void);
/**
* Request that your elementary application needs ethumb
*
* This initializes the Ethumb library when called and if support exists
* it returns EINA_TRUE, otherwise returns EINA_FALSE.
* This must be called before any other function that deals with
* elm_thumb objects or ethumb_client instances.
*
* @ingroup Thumb
*/
EAPI Eina_Bool elm_need_ethumb(void);
/**
* Request that your elementary application needs web support
*
* This initializes the Ewebkit library when called and if support exists
* it returns EINA_TRUE, otherwise returns EINA_FALSE.
* This must be called before any other function that deals with
* elm_web objects or ewk_view instances.
*
* @ingroup Web
*/
EAPI Eina_Bool elm_need_web(void);