summaryrefslogtreecommitdiff
path: root/vendor/github.com/getlantern/systray/systray.h
diff options
context:
space:
mode:
authorkali <kali@leap.se>2018-09-26 20:36:18 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2018-09-26 20:43:51 +0200
commitb26241ce8ec2b992b4209677ea75df608964cdbf (patch)
tree237b93bf1173cd4207e960cad6ff0c3c2104a75f /vendor/github.com/getlantern/systray/systray.h
parentf1e820ba1664cc1d3f69e15d0356552fecaf6fcd (diff)
[pkg] vendor getlantern/systray
this is a workaround for riseup_vpn#28
Diffstat (limited to 'vendor/github.com/getlantern/systray/systray.h')
-rw-r--r--vendor/github.com/getlantern/systray/systray.h13
1 files changed, 13 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..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();