bark_sys_cbs(3)Bark

NAME

bark_sys_cbs - Main-thread callbacks dispatched during bark_sys_poll().

SYNOPSIS

#include <sys.h>

Public Attributes

void(* on_timer )(void *user, uint32_t timer_id)
void(* on_file_picked )(void *user, const char *tag, uint32_t local_handle, const char *name, uint64_t size)
void(* on_clipboard_image )(void *user, const uint8_t *bytes, size_t len, const char *mime)
void(* on_hash_change )(void *user, const char *hash)

Detailed Description

Main-thread callbacks dispatched during bark_sys_poll().

Member Data Documentation

void(* bark_sys_cbs::on_clipboard_image) (void *user, const uint8_t *bytes, size_t len, const char *mime)

Fired when an image is pasted from the clipboard.

void(* bark_sys_cbs::on_file_picked) (void *user, const char *tag, uint32_t local_handle, const char *name, uint64_t size)

Fired when a user picks or drops a local file.

void(* bark_sys_cbs::on_hash_change) (void *user, const char *hash)

Fired when the URL hash fragment changes.

void(* bark_sys_cbs::on_timer) (void *user, uint32_t timer_id)

Fired when a timer scheduled via bark_sys_timer_set() expires.

Author

Generated automatically by Doxygen for Bark from the source code.