diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2018-11-14 20:45:46 +0100 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2018-11-14 20:54:24 +0100 |
commit | e090ea1a2da8c4ff5e98fb09e37d51042e380b0a (patch) | |
tree | d073d0164e9695233644cc9a3d9a985668aade26 /vendor/github.com/getlantern/systray/systray.h | |
parent | 36c05e395e63837c27ed5d4eaf4377c7d5df1e76 (diff) |
[pkg] add temporary vendoring of getlantern/systray to fix win bug
this adds upstream PR #74
Diffstat (limited to 'vendor/github.com/getlantern/systray/systray.h')
-rw-r--r-- | vendor/github.com/getlantern/systray/systray.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/github.com/getlantern/systray/systray.h b/vendor/github.com/getlantern/systray/systray.h new file mode 100644 index 0000000..36bcf98 --- /dev/null +++ b/vendor/github.com/getlantern/systray/systray.h @@ -0,0 +1,14 @@ +extern void systray_ready(); +extern void systray_on_exit(); +extern void systray_menu_item_selected(int menu_id); +int nativeLoop(void); + +void setIcon(const char* iconBytes, int length); +void setMenuItemIcon(const char* iconBytes, int length, int menuId); +void setTitle(char* title); +void setTooltip(char* tooltip); +void add_or_update_menu_item(int menuId, char* title, char* tooltip, short disabled, short checked); +void add_separator(int menuId); +void hide_menu_item(int menuId); +void show_menu_item(int menuId); +void quit(); |