36 typedef QPair<uq_callback_t, struct update_queue_data *>
updatePair;
bool has_callback_full(uq_callback_t cb, const void **data, uq_free_fn_t *free_fn)
waitingQueue wq_processing_finished
static update_queue * uq()
void connect_processing_finished_unique(int request_id, uq_callback_t cb, void *data)
Connects the callback to the end of the processing (in server side) of the request.
void wq_data_destroy(struct waiting_queue_data *wq_data)
void wq_run_requests(waitingQueue &hash, int request_id)
static update_queue * m_instance
struct waiting_queue_data * wq_data_new(uq_callback_t callback, void *data, uq_free_fn_t free_fn)
struct update_queue_data * wq_data_extract(struct waiting_queue_data *wq_data)
bool has_callback(uq_callback_t callback)
void connect_processing_finished_full(int request_id, uq_callback_t cb, void *data, uq_free_fn_t free_func)
void data_destroy(struct update_queue_data *dt)
void connect_processing_finished(int request_id, uq_callback_t cb, void *data)
void push(uq_callback_t cb, struct update_queue_data *dt)
void wq_add_request(waitingQueue &hash, int request_id, uq_callback_t cb, void *data, uq_free_fn_t free_fn)
QQueue< updatePair > queue
struct update_queue_data * data_new(void *data, uq_free_fn_t free_fn)
void add(uq_callback_t callback, void *data)
void processing_finished(int request_id)
uq_free_fn_t free_data_func
struct update_queue_data * uq_data
bool update_queue_is_switching_page(void)
void(* uq_free_fn_t)(void *data)
void(* uq_callback_t)(void *data)
void players_dialog_update()
QList< struct waiting_queue_data * > waitq_list
QPair< uq_callback_t, struct update_queue_data * > updatePair
QHash< int, waitq_list * > waitingQueue