diff options
-rw-r--r-- | src/libcustomindicator/custom-indicator.c | 90 | ||||
-rw-r--r-- | src/libcustomindicator/custom-indicator.h | 3 |
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 |