aboutsummaryrefslogtreecommitdiff
path: root/src/status-items.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-07-14 20:29:05 -0500
committerTed Gould <ted@gould.cx>2011-07-14 20:29:05 -0500
commitc4dc68441ac2e216b6ffc858783cb2b8e988fdf1 (patch)
tree6147b2adff76aa25e12df3b9ac0155a7143a8379 /src/status-items.h
parent7b0358220b72c294bcdd37be6ec006ba961c7837 (diff)
parentc05a2a3255ef8828b0517e74a3e2c625370235ba (diff)
downloadayatana-indicator-messages-c4dc68441ac2e216b6ffc858783cb2b8e988fdf1.tar.gz
ayatana-indicator-messages-c4dc68441ac2e216b6ffc858783cb2b8e988fdf1.tar.bz2
ayatana-indicator-messages-c4dc68441ac2e216b6ffc858783cb2b8e988fdf1.zip
Merge from U. Desktop
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__ */
+