diff options
author | Ted Gould <ted@canonical.com> | 2009-04-02 11:11:20 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-04-02 11:11:20 -0500 |
commit | 5ebb3c4f87cf9965183c055d52193e656c59193b (patch) | |
tree | b6ab97b9690a60843295764ffdfc2188848c72c0 /libindicate | |
parent | b87476878dde5c5eed23e474073922b65e5f2ff5 (diff) | |
download | libayatana-indicator-5ebb3c4f87cf9965183c055d52193e656c59193b.tar.gz libayatana-indicator-5ebb3c4f87cf9965183c055d52193e656c59193b.tar.bz2 libayatana-indicator-5ebb3c4f87cf9965183c055d52193e656c59193b.zip |
Woot! Now we have some real functions to call!
Diffstat (limited to 'libindicate')
-rw-r--r-- | libindicate/server.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/libindicate/server.c b/libindicate/server.c index a907dea..e11a4a3 100644 --- a/libindicate/server.c +++ b/libindicate/server.c @@ -108,6 +108,9 @@ static gboolean show_indicator_to_user (IndicateServer * server, guint id, GErro static guint get_next_id (IndicateServer * server); static void set_property (GObject * obj, guint id, const GValue * value, GParamSpec * pspec); static void get_property (GObject * obj, guint id, GValue * value, GParamSpec * pspec); +static gboolean show_interest (IndicateServer * server, gchar * sender, IndicateInterests interest); +static gboolean remove_interest (IndicateServer * server, gchar * sender, IndicateInterests interest); +static gboolean check_interest (IndicateServer * server, IndicateInterests intrest); /* DBus API */ gboolean indicate_server_get_indicator_count (IndicateServer * server, guint * count, GError **error); @@ -206,6 +209,9 @@ indicate_server_class_init (IndicateServerClass * class) class->get_indicator_properties = get_indicator_properties; class->show_indicator_to_user = show_indicator_to_user; class->get_next_id = get_next_id; + class->show_interest = show_interest; + class->remove_interest = remove_interest; + class->check_interest = check_interest; return; } @@ -362,6 +368,29 @@ get_next_id (IndicateServer * server) return priv->current_id; } +static gboolean +show_interest (IndicateServer * server, gchar * sender, IndicateInterests interest) +{ + + + return FALSE; +} + +static gboolean +remove_interest (IndicateServer * server, gchar * sender, IndicateInterests interest) +{ + + return FALSE; +} + +static gboolean +check_interest (IndicateServer * server, IndicateInterests intrest) +{ + + + return FALSE; +} + static void indicator_show_cb (IndicateIndicator * indicator, IndicateServer * server) { |