aboutsummaryrefslogtreecommitdiff
path: root/src/libcustomindicator
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-20 17:18:48 -0500
committerTed Gould <ted@canonical.com>2009-10-20 17:18:48 -0500
commit08c19ed67d51834c079f4f1ccf12393628740731 (patch)
tree7754df7c418f1727cc3c85b2595af504c185e209 /src/libcustomindicator
parent81afbd1f77b832d8ebef880a5ae6f8869b6a663c (diff)
downloadlibayatana-appindicator-08c19ed67d51834c079f4f1ccf12393628740731.tar.gz
libayatana-appindicator-08c19ed67d51834c079f4f1ccf12393628740731.tar.bz2
libayatana-appindicator-08c19ed67d51834c079f4f1ccf12393628740731.zip
Filling out some prototypes.
Diffstat (limited to 'src/libcustomindicator')
-rw-r--r--src/libcustomindicator/custom-indicator.c90
-rw-r--r--src/libcustomindicator/custom-indicator.h3
2 files changed, 92 insertions, 1 deletions
diff --git a/src/libcustomindicator/custom-indicator.c b/src/libcustomindicator/custom-indicator.c
index a4081cd..127084d 100644
--- a/src/libcustomindicator/custom-indicator.c
+++ b/src/libcustomindicator/custom-indicator.c
@@ -558,3 +558,93 @@ check_connect (CustomIndicator * self)
}
+
+
+/* ************************* */
+/* Public Functions */
+/* ************************* */
+
+void
+custom_indicator_set_id (CustomIndicator * ci, const gchar * id)
+{
+
+ return;
+}
+
+void
+custom_indicator_set_category (CustomIndicator * ci, CustomIndicatorCategory category)
+{
+
+ return;
+}
+
+void
+custom_indicator_set_status (CustomIndicator * ci, CustomIndicatorStatus status)
+{
+
+ return;
+}
+
+void custom_indicator_set_icon (CustomIndicator * ci, const gchar * icon_name)
+{
+
+ return;
+}
+
+void
+custom_indicator_set_attention_icon (CustomIndicator * ci, const gchar * icon_name)
+{
+
+ return;
+}
+
+void
+custom_indicator_set_menu (CustomIndicator * ci, void * menu)
+{
+
+ return;
+}
+
+const gchar *
+custom_indicator_get_id (CustomIndicator * ci)
+{
+
+ return NULL;
+}
+
+CustomIndicatorCategory
+custom_indicator_get_category (CustomIndicator * ci)
+{
+
+ return CUSTOM_INDICATOR_CATEGORY_OTHER;
+}
+
+CustomIndicatorStatus
+custom_indicator_get_status (CustomIndicator * ci)
+{
+
+ return CUSTOM_INDICATOR_STATUS_OFF;
+}
+
+const gchar *
+custom_indicator_get_icon (CustomIndicator * ci)
+{
+
+ return NULL;
+}
+
+const gchar *
+custom_indicator_get_attention_icon (CustomIndicator * ci)
+{
+
+ return NULL;
+}
+
+DbusmenuServer *
+custom_indicator_get_menu (CustomIndicator * ci)
+{
+
+ return NULL;
+}
+
+
diff --git a/src/libcustomindicator/custom-indicator.h b/src/libcustomindicator/custom-indicator.h
index a4fc3f1..b6bb228 100644
--- a/src/libcustomindicator/custom-indicator.h
+++ b/src/libcustomindicator/custom-indicator.h
@@ -3,6 +3,7 @@
#include <glib.h>
#include <glib-object.h>
+#include <libdbusmenu-glib/server.h>
G_BEGIN_DECLS
@@ -134,7 +135,7 @@ CustomIndicatorCategory custom_indicator_get_category (CustomIndic
CustomIndicatorStatus custom_indicator_get_status (CustomIndicator * ci);
const gchar * custom_indicator_get_icon (CustomIndicator * ci);
const gchar * custom_indicator_get_attention_icon (CustomIndicator * ci);
-void * custom_indicator_get_menu (CustomIndicator * ci);
+DbusmenuServer * custom_indicator_get_menu (CustomIndicator * ci);
G_END_DECLS