Soletta™ Framework
|
This file is to be included by GMainLoop users. More...
#include <stdlib.h>
#include <string.h>
#include <glib.h>
#include <sol-mainloop.h>
#include <sol-log.h>
#include <sol-util.h>
#include <sol-vector.h>
Go to the source code of this file.
Data Structures | |
struct | _sol_glib_integration_fd_handler |
struct | _sol_glib_integration_source_data |
Variables | |
static GSourceFuncs | _sol_glib_integration_gsource_funcs |
Source callbacks needed for the integration of the mainloops. More... | |
static const struct sol_mainloop_source_type | _sol_glib_integration_source_type |
Source type to integrate the mainloops (see sol_mainloop_source_type) More... | |
This file is to be included by GMainLoop users.
It will make sure Glib's main loop is usable with Soletta in the case of Soletta being compiled with glib as mainloop or any other such as POSIX.
Include this file and call sol_glib_integration().
|
inlinestatic |
Referenced by _sol_glib_integration_source_prepare().
|
static |
Referenced by _sol_glib_integration_on_source_fd().
|
static |
References _sol_glib_integration_fd_handler::watch.
Referenced by _sol_glib_integration_source_dispose(), and _sol_glib_integration_source_fd_handlers_adjust().
|
static |
Referenced by _sol_glib_integration_source_fd_handlers_adjust().
|
static |
Referenced by sol_glib_integration().
|
static |
|
static |
|
static |
|
static |
|
static |
References _sol_glib_integration_source_data::gsource, and SOL_WRN.
Referenced by _sol_glib_integration_source_check(), _sol_glib_integration_source_dispatch(), and _sol_glib_integration_source_prepare().
|
static |
|
static |
|
static |
|
static |
|
static |
References _sol_glib_integration_fd_handler_del(), _sol_glib_integration_gpoll_events_to_fd_flags(), _sol_glib_integration_on_source_fd(), _sol_glib_integration_source_fd_handler_data_find(), _sol_glib_integration_source_gpollfd_find(), _sol_glib_integration_fd_handler::events, _sol_glib_integration_fd_handler::fd, _sol_glib_integration_source_data::fds, _sol_glib_integration_source_data::handlers, _sol_glib_integration_fd_handler::mdata, _sol_glib_integration_source_data::n_poll, SOL_DBG, SOL_INT_CHECK_GOTO, SOL_NULL_CHECK, SOL_NULL_CHECK_GOTO, sol_ptr_vector_append(), sol_ptr_vector_del(), SOL_PTR_VECTOR_FOREACH_REVERSE_IDX, and _sol_glib_integration_fd_handler::watch.
Referenced by _sol_glib_integration_source_prepare().
|
static |
References sol_util_timespec_from_msec(), and _sol_glib_integration_source_data::timeout.
|
static |
|
static |
References _sol_glib_integration_align_power2(), _sol_glib_integration_source_acquire(), _sol_glib_integration_source_fd_handlers_adjust(), _sol_glib_integration_source_release(), _sol_glib_integration_source_data::fds, _sol_glib_integration_source_data::gsource, _sol_glib_integration_source_data::max_prio, _sol_glib_integration_source_data::n_fds, _sol_glib_integration_source_data::n_poll, SOL_INT_CHECK_GOTO, SOL_NULL_CHECK_GOTO, sol_util_size_mul(), and _sol_glib_integration_source_data::timeout.
|
static |
|
static |
References _sol_glib_integration_gsource_cb(), _sol_glib_integration_gsource_funcs, _sol_glib_integration_source_data::fds, _sol_glib_integration_source_data::handlers, _sol_glib_integration_source_data::max_prio, _sol_glib_integration_source_data::n_fds, _sol_glib_integration_source_data::n_poll, SOL_DBG, sol_init(), SOL_INT_CHECK_GOTO, sol_mainloop_add_source(), SOL_NULL_CHECK, SOL_NULL_CHECK_GOTO, sol_ptr_vector_init(), SOL_WRN, and _sol_glib_integration_source_data::timeout.
|
static |
Source callbacks needed for the integration of the mainloops.
Referenced by sol_glib_integration().
|
static |
Source type to integrate the mainloops (see sol_mainloop_source_type)