diff options
author | Ted Gould <ted@canonical.com> | 2009-04-01 14:49:02 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-04-01 14:49:02 -0500 |
commit | b76642fa768fd6fb34abc2a02a8bdf548081add7 (patch) | |
tree | cabcf15ac52a10b0b5e5a1b49deacecb1b1219ac /libindicate/server.h | |
parent | 589454c1262cfe3b24423036349e762697a3df7f (diff) | |
download | libayatana-indicator-b76642fa768fd6fb34abc2a02a8bdf548081add7.tar.gz libayatana-indicator-b76642fa768fd6fb34abc2a02a8bdf548081add7.tar.bz2 libayatana-indicator-b76642fa768fd6fb34abc2a02a8bdf548081add7.zip |
Getting some interests in the game.
Diffstat (limited to 'libindicate/server.h')
-rw-r--r-- | libindicate/server.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libindicate/server.h b/libindicate/server.h index 8aa0cf1..d5ba9a6 100644 --- a/libindicate/server.h +++ b/libindicate/server.h @@ -34,6 +34,7 @@ License version 3 and version 2.1 along with this program. If not, see #include <glib-object.h> #include "indicator.h" +#include "interests.h" G_BEGIN_DECLS @@ -53,7 +54,7 @@ G_BEGIN_DECLS #define INDICATE_SERVER_SIGNAL_SERVER_SHOW "server-show" #define INDICATE_SERVER_SIGNAL_SERVER_HIDE "server-hide" #define INDICATE_SERVER_SIGNAL_SERVER_DISPLAY "server-display" - +#define INDICATE_SERVER_SIGNAL_LISTENER_INTERESTED "listener-interested" typedef struct _IndicateServer IndicateServer; struct _IndicateServer { @@ -71,6 +72,7 @@ struct _IndicateServerClass { void (* server_show) (IndicateServer * server, gchar * type); void (* server_hide) (IndicateServer * server, gchar * type); void (* server_display) (IndicateServer * server); + void (* listener_interested) (IndicateServer * server, IndicateServerInterests * interests); /* Virtual Functions */ gboolean (*get_indicator_count) (IndicateServer * server, guint * count, GError **error); @@ -82,6 +84,12 @@ struct _IndicateServerClass { gboolean (*get_indicator_properties) (IndicateServer * server, guint id, gchar *** properties, GError **error); gboolean (*show_indicator_to_user) (IndicateServer * server, guint id, GError ** error); guint (*get_next_id) (IndicateServer * server); + + /* Reserver for future use */ + void (*indicate_server_reserved1)(void); + void (*indicate_server_reserved2)(void); + void (*indicate_server_reserved3)(void); + void (*indicate_server_reserved4)(void); }; GType indicate_server_get_type (void) G_GNUC_CONST; |