summaryrefslogtreecommitdiff
path: root/vendor/github.com/getlantern/systray/systray.h
diff options
context:
space:
mode:
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();