aboutsummaryrefslogtreecommitdiffstats
path: root/systray.h
diff options
context:
space:
mode:
authorOx Cart2016-03-17 10:43:40 -0500
committerOx Cart2016-03-17 10:43:40 -0500
commit8e63b37ef27d94f6db79c4ffb941608e8f0dc2f9 (patch)
treedc372118a147dc0a9d6b6d19d36430e9c9dcf765 /systray.h
downloadsystray-8e63b37ef27d94f6db79c4ffb941608e8f0dc2f9.tar.bz2
Squashed commits, full commit log available in https://github.com/getlantern/lantern
Diffstat (limited to 'systray.h')
-rw-r--r--systray.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/systray.h b/systray.h
new file mode 100644
index 0000000..819b65f
--- /dev/null
+++ b/systray.h
@@ -0,0 +1,9 @@
+extern void systray_ready();
+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 quit();