| 1 | #include "stdbool.h" |
| 2 | |
| 3 | extern void systray_ready(); |
| 4 | extern void systray_on_exit(); |
| 5 | extern void systray_left_click(); |
| 6 | extern void systray_right_click(); |
| 7 | extern void systray_menu_item_selected(int menu_id); |
| 8 | extern void systray_menu_will_open(); |
| 9 | void registerSystray(void); |
| 10 | void nativeEnd(void); |
| 11 | int nativeLoop(void); |
| 12 | void nativeStart(void); |
| 13 | |
| 14 | void setIcon(const char* iconBytes, int length, bool template); |
| 15 | void setMenuItemIcon(const char* iconBytes, int length, int menuId, bool template); |
| 16 | void setTitle(char* title); |
| 17 | void setTooltip(char* tooltip); |
| 18 | void setRemovalAllowed(bool allowed); |
| 19 | void add_or_update_menu_item(int menuId, int parentMenuId, char* title, char* tooltip, char* shortcutKey, unsigned int shortcutMods, short disabled, short checked, short isCheckable); |
| 20 | void add_separator(int menuId, int parentId); |
| 21 | void hide_menu_item(int menuId); |
| 22 | void remove_menu_item(int menuId); |
| 23 | void show_menu_item(int menuId); |
| 24 | void reset_menu(); |
| 25 | void show_menu(); |
| 26 | void quit(); |
| 27 |