aboutsummaryrefslogtreecommitdiff
path: root/src/status-items.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-07-14 12:59:41 -0500
committerTed Gould <ted@gould.cx>2011-07-14 12:59:41 -0500
commit83c4e7ba590b227e3f5c2d93b5819aec4f7b1771 (patch)
treecbcb2b622af8a50086e2f7a9b4edf45c10b2782b /src/status-items.h
parent9fd47d873b3f30ad803b1655eba9449d34ff09ff (diff)
parente8384bb4257d9f016b0cbc18fb997d34a5ea282b (diff)
downloadayatana-indicator-messages-83c4e7ba590b227e3f5c2d93b5819aec4f7b1771.tar.gz
ayatana-indicator-messages-83c4e7ba590b227e3f5c2d93b5819aec4f7b1771.tar.bz2
ayatana-indicator-messages-83c4e7ba590b227e3f5c2d93b5819aec4f7b1771.zip
Adding status menu items to the messaging menu
Diffstat (limited to 'src/status-items.h')
-rw-r--r--src/status-items.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/status-items.h b/src/status-items.h
new file mode 100644
index 0000000..fe7900c
--- /dev/null
+++ b/src/status-items.h
@@ -0,0 +1,38 @@
+/*
+Code to build and maintain the status adjustment menuitems.
+
+Copyright 2011 Canonical Ltd.
+
+Authors:
+ Ted Gould <ted@canonical.com>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License version 3, as published
+by the Free Software Foundation.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranties of
+MERCHANTABILITY, SATISFACTORY QUALITY, 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 this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef __STATUS_ITEMS_H__
+#define __STATUS_ITEMS_H__
+
+#include <glib.h>
+
+G_BEGIN_DECLS
+
+typedef void (*StatusUpdateFunc) (void);
+
+GList * status_items_build (StatusUpdateFunc update_func);
+const gchar * status_current_panel_icon (gboolean alert);
+void status_items_cleanup (void);
+
+G_END_DECLS
+
+#endif /* __STATUS_ITEMS_H__ */
+