* @brief Checks if current thread is the main thread.
*
* If there is no thread support (compiled with --disable-pthreads) or
- * threads were not enabled, then #EINA_TRUE is returned. The only case where
- * #EINA_FALSE is returned is when threads were successfully enabled but the
- * current thread is not the one that called eina_log_threads_init() (the
+ * threads were not enabled, then #EINA_TRUE is returned. The only case where
+ * #EINA_FALSE is returned is when threads were successfully enabled but the
+ * current thread is not the one that called eina_log_threads_init() (the
* main thread).
- *
- * @return #EINA_TRUE if the current thread is the one that called
- * eina_log_threads_init(), otherwise #EINA_FALSE.
+ *
+ * @return #EINA_TRUE if the current thread is the one that called
+ * eina_log_threads_init(), otherwise #EINA_FALSE.
*/
EAPI Eina_Bool eina_log_main_thread_check(void) EINA_CONST EINA_WARN_UNUSED_RESULT;
/**
* @brief Alternative logging method, this will output to standard output stream.
*
- * @param[in] d The domain.
- * @param[in] level The level.
- * @param[in] file The file which is logged.
- * @param[in] fnc The function which is logged.
- * @param[in] line The line which is logged.
- * @param[in] fmt The output format to use.
- * @param[in] data Not used.
- * @param[in] args The arguments needed by the format.
+ * @param d The domain.
+ * @param level The level.
+ * @param file The file which is logged.
+ * @param fnc The function which is logged.
+ * @param line The line which is logged.
+ * @param fmt The output format to use.
+ * @param data Not used.
+ * @param args The arguments needed by the format.
*
* This method will colorize output based on domain provided color and
* message logging level. To disable color, set environment variable
/**
* @brief Default logging method, this will output to standard error stream.
*
- * @param[in] d The domain.
- * @param[in] level The level.
- * @param[in] file The file which is logged.
- * @param[in] fnc The function which is logged.
- * @param[in] line The line which is logged.
- * @param[in] fmt The output format to use.
- * @param[in] data Not used.
- * @param[in] args The arguments needed by the format.
+ * @param d The domain.
+ * @param level The level.
+ * @param file The file which is logged.
+ * @param fnc The function which is logged.
+ * @param line The line which is logged.
+ * @param fmt The output format to use.
+ * @param data Not used.
+ * @param args The arguments needed by the format.
*
* This method will colorize output based on domain provided color and
* message logging level.
/**
* @brief Alternative logging method, this will output to given file stream.
*
- * @param[in] d The domain.
- * @param[in] level Not used.
- * @param[in] file The file which is logged.
- * @param[in] fnc The function which is logged.
- * @param[in] line The line which is logged.
- * @param[in] fmt The output format to use.
- * @param[in] data The file which will store the output (as a FILE *).
- * @param[in] args The arguments needed by the format.
+ * @param d The domain.
+ * @param level Not used.
+ * @param file The file which is logged.
+ * @param fnc The function which is logged.
+ * @param line The line which is logged.
+ * @param fmt The output format to use.
+ * @param data The file which will store the output (as a FILE *).
+ * @param args The arguments needed by the format.
*
* This method will never output color.
*
* @param[in] file The file that is logged
* @param[in] fnc The function that is logged
* @param[in] line The line that is logged
- * @param[in] fmt The ouptut format to use
+ * @param[in] fmt The output format to use
* @param[in] data Not Used
* @param[in] args The arguments needed by the format
*
* @param[in] file The file that is logged
* @param[in] fnc The function that is logged
* @param[in] line The line that is logged
- * @param[in] fmt The ouptut format to use
+ * @param[in] fmt The output format to use
* @param[in] data Not Used
* @param[in] args The arguments needed by the format
*
/**
* @brief Alternative logging method, this will output to systemd journal.
*
- * @param[in] d The domain.
- * @param[in] level Not used.
- * @param[in] file The file which is logged.
- * @param[in] fnc The function which is logged.
- * @param[in] line The line which is logged.
- * @param[in] fmt The output format to use.
- * @param[in] data The file which will store the output (as a FILE *).
- * @param[in] args The arguments needed by the format.
+ * @param d The domain.
+ * @param level Not used.
+ * @param file The file which is logged.
+ * @param fnc The function which is logged.
+ * @param line The line which is logged.
+ * @param fmt The output format to use.
+ * @param data The file which will store the output (as a FILE *).
+ * @param args The arguments needed by the format.
*
* This method will never output color.
*
extern EAPI const char *_eina_log_state_shutdown;
/**
* @def EINA_LOG_STATE_INIT
- * String that indicates the log system is initializing
+ * String that indicates the log system is initializing
*
* @if MOBILE @since_tizen 3.0
* @elseif WEARABLE @since_tizen 3.0
* Defines the kind of action associated with the drop data if for XDND
* @since 1.8
*/
-typedef Efl_Selection_Action Elm_Xdnd_Action;
-
-#define ELM_XDND_ACTION_UNKNOWN EFL_SELECTION_ACTION_UNKNOWN
-#define ELM_XDND_ACTION_COPY EFL_SELECTION_ACTION_COPY
-#define ELM_XDND_ACTION_MOVE EFL_SELECTION_ACTION_MOVE
-#define ELM_XDND_ACTION_PRIVATE EFL_SELECTION_ACTION_PRIVATE
-#define ELM_XDND_ACTION_ASK EFL_SELECTION_ACTION_ASK
-#define ELM_XDND_ACTION_LIST EFL_SELECTION_ACTION_LIST
-#define ELM_XDND_ACTION_LINK EFL_SELECTION_ACTION_LINK
-#define ELM_XDND_ACTION_DESCRIPTION EFL_SELECTION_ACTION_DESCRIPTION
+typedef enum
+{
+ ELM_XDND_ACTION_UNKNOWN, /**< Action type is unknown */
+ ELM_XDND_ACTION_COPY, /**< Copy the data */
+ ELM_XDND_ACTION_MOVE, /**< Move the data */
+ ELM_XDND_ACTION_PRIVATE, /**< Private action type */
+ ELM_XDND_ACTION_ASK, /**< Ask the user what to do */
+ ELM_XDND_ACTION_LIST, /**< List the data */
+ ELM_XDND_ACTION_LINK, /**< Link the data */
+ ELM_XDND_ACTION_DESCRIPTION /**< Describe the data */
+} Elm_Xdnd_Action;
/**
* Structure holding the info about selected data.