diff options
Diffstat (limited to 'calendar/gui/cal-search-bar.h')
-rw-r--r-- | calendar/gui/cal-search-bar.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/calendar/gui/cal-search-bar.h b/calendar/gui/cal-search-bar.h index 1317369371..3142952482 100644 --- a/calendar/gui/cal-search-bar.h +++ b/calendar/gui/cal-search-bar.h @@ -37,8 +37,13 @@ BEGIN_GNOME_DECLS #define IS_CAL_SEARCH_BAR(obj) (GTK_CHECK_TYPE ((obj), TYPE_CAL_SEARCH_BAR)) #define IS_CAL_SEARCH_BAR_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), TYPE_CAL_SEARCH_BAR)) +typedef struct CalSearchBarPrivate CalSearchBarPrivate; + typedef struct { ESearchBar search_bar; + + /* Private data */ + CalSearchBarPrivate *priv; } CalSearchBar; typedef struct { @@ -47,6 +52,7 @@ typedef struct { /* Notification signals */ void (* sexp_changed) (CalSearchBar *cal_search, const char *sexp); + void (* category_changed) (CalSearchBar *cal_search, const char *category); } CalSearchBarClass; GtkType cal_search_bar_get_type (void); @@ -55,6 +61,10 @@ CalSearchBar *cal_search_bar_construct (CalSearchBar *cal_search); GtkWidget *cal_search_bar_new (void); +void cal_search_bar_set_categories (CalSearchBar *cal_search, GPtrArray *categories); + +const char *cal_search_bar_get_category (CalSearchBar *cal_search); + END_GNOME_DECLS |