10#ifndef __IFACE_TOOLBAR_H__
11#define __IFACE_TOOLBAR_H__
22 INTERFACE_TYPE_UNKNOWN,
23 INTERFACE_TYPE_BOOLEAN,
24 INTERFACE_TYPE_BUTTON,
25 INTERFACE_TYPE_SELECTOR,
27} iface_toolbar_ctrl_type;
30 INTERFACE_ROLE_UNKNOWN,
31 INTERFACE_ROLE_CONTROL,
33 INTERFACE_ROLE_LOGGER,
34 INTERFACE_ROLE_RESTORE
35} iface_toolbar_ctrl_role;
46 iface_toolbar_ctrl_type ctrl_type;
47 iface_toolbar_ctrl_role ctrl_role;
68typedef void (*iface_toolbar_remove_cb_t)(
const char *);
72void iface_toolbar_remove(
const char *menu_title);
74bool iface_toolbar_use(
void);
76void iface_toolbar_register_cb(iface_toolbar_add_cb_t, iface_toolbar_remove_cb_t);