aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-object.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-09-16 16:06:41 -0500
committerTed Gould <ted@gould.cx>2010-09-16 16:06:41 -0500
commit64db4d0d0dd0eb801b0dd2214d7723ba10f4ba81 (patch)
treec25f633fceacd6309a4a27e759db32c2a29c33aa /libindicator/indicator-object.h
parent90b4c191ef8eb28244ea405669a3671f0e5060c5 (diff)
downloadlibayatana-indicator-64db4d0d0dd0eb801b0dd2214d7723ba10f4ba81.tar.gz
libayatana-indicator-64db4d0d0dd0eb801b0dd2214d7723ba10f4ba81.tar.bz2
libayatana-indicator-64db4d0d0dd0eb801b0dd2214d7723ba10f4ba81.zip
Breaking the ABI and adding a subclassable function.
Diffstat (limited to 'libindicator/indicator-object.h')
-rw-r--r--libindicator/indicator-object.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/libindicator/indicator-object.h b/libindicator/indicator-object.h
index 8714093..79f4757 100644
--- a/libindicator/indicator-object.h
+++ b/libindicator/indicator-object.h
@@ -94,6 +94,8 @@ struct _IndicatorObjectClass {
GList * (*get_entries) (IndicatorObject * io);
guint (*get_location) (IndicatorObject * io, IndicatorObjectEntry * entry);
+ void (*entry_activate) (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp);
+
/* Signals */
void (*entry_added) (IndicatorObject * io, IndicatorObjectEntry * entry, gpointer user_data);
void (*entry_removed) (IndicatorObject * io, IndicatorObjectEntry * entry, gpointer user_data);
@@ -102,6 +104,12 @@ struct _IndicatorObjectClass {
void (*menu_show) (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp, gpointer user_data);
/* Reserved */
+ void (*reserved1) (void);
+ void (*reserved2) (void);
+ void (*reserved3) (void);
+ void (*reserved4) (void);
+ void (*reserved5) (void);
+ void (*reserved6) (void);
};
/**
@@ -132,7 +140,7 @@ IndicatorObject * indicator_object_new_from_file (const gchar * file);
GList * indicator_object_get_entries (IndicatorObject * io);
guint indicator_object_get_location (IndicatorObject * io, IndicatorObjectEntry * entry);
-void indicator_object_entry_activate (IndicatorObject * io, IndicatorObjectEntry * entry);
+void indicator_object_entry_activate (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp);
G_END_DECLS