From b26241ce8ec2b992b4209677ea75df608964cdbf Mon Sep 17 00:00:00 2001 From: kali Date: Wed, 26 Sep 2018 20:36:18 +0200 Subject: [pkg] vendor getlantern/systray this is a workaround for riseup_vpn#28 --- vendor/github.com/getlantern/systray/systray.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 vendor/github.com/getlantern/systray/systray.h (limited to 'vendor/github.com/getlantern/systray/systray.h') diff --git a/vendor/github.com/getlantern/systray/systray.h b/vendor/github.com/getlantern/systray/systray.h new file mode 100644 index 0000000..f9b1d3c --- /dev/null +++ b/vendor/github.com/getlantern/systray/systray.h @@ -0,0 +1,13 @@ +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 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(); -- cgit v1.2.3