aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gncal-full-day.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/gncal-full-day.h')
-rw-r--r--calendar/gui/gncal-full-day.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/calendar/gui/gncal-full-day.h b/calendar/gui/gncal-full-day.h
index 27e60c9326..309924bc2e 100644
--- a/calendar/gui/gncal-full-day.h
+++ b/calendar/gui/gncal-full-day.h
@@ -44,14 +44,21 @@ struct _GncalFullDay {
struct _GncalFullDayClass {
GtkContainerClass parent_class;
+
+ void (* range_activated) (GncalFullDay *fullday);
};
-guint gncal_full_day_get_type (void);
-GtkWidget *gncal_full_day_new (GnomeCalendar *calendar, time_t lower, time_t upper);
+guint gncal_full_day_get_type (void);
+GtkWidget *gncal_full_day_new (GnomeCalendar *calendar, time_t lower, time_t upper);
+
+void gncal_full_day_update (GncalFullDay *fullday);
+void gncal_full_day_set_bounds (GncalFullDay *fullday, time_t lower, time_t upper);
-void gncal_full_day_update (GncalFullDay *fullday);
-void gncal_full_day_set_bounds (GncalFullDay *fullday, time_t lower, time_t upper);
+/* Returns the selected range in lower and upper. If nothing is
+ * selected, return value is FALSE, otherwise it is TRUE.
+ */
+int gncal_full_day_selection_range (GncalFullDay *fullday, time_t *lower, time_t *upper);
END_GNOME_DECLS