aboutsummaryrefslogtreecommitdiff
path: root/tray.h
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2014-06-05 17:49:36 +1200
committerDavid <dbphillipsnz@gmail.com>2014-06-05 17:49:36 +1200
commit0a915305a6481f3b9553511376358ab81a51724c (patch)
tree62c19cd0b68f6d5bfd9a3105858d85b84b88b44a /tray.h
downloadparamano-0a915305a6481f3b9553511376358ab81a51724c.tar.xz
Clean-ups
Diffstat (limited to 'tray.h')
-rw-r--r--tray.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/tray.h b/tray.h
new file mode 100644
index 0000000..41e0c1d
--- /dev/null
+++ b/tray.h
@@ -0,0 +1,33 @@
+/************************************************************************
+ * This file is part of trayfreq-archlinux. *
+ * *
+ * trayfreq-archlinux is free software; you can redistribute it and/or *
+ * modify it under the terms of the GNU General Public License as *
+ * published by the Free Software Foundation; either version 3 of the *
+ * License, or (at your option) any later version. *
+ * *
+ * trayfreq-archlinux is distributed in the hope that it will be useful,*
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with trayfreq-archlinux. If not, see *
+ * <http://www.gnu.org/licenses/>. *
+ ************************************************************************/
+
+#ifndef TRAY_H
+#define TRAY_H
+
+#include <stdbool.h>
+
+void tray_set_defaults();
+void tray_init();
+void tray_set_tooltip(const char* msg);
+void tray_update_icon_percent();
+void tray_show();
+void tray_hide();
+bool tray_visible();
+bool tray_embedded();
+
+#endif