diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2003-07-18 18:37:44 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2003-07-18 18:37:44 +0800 |
commit | 9480887536f318abc6f8540ca2a8d9114becc6e3 (patch) | |
tree | 05c8412a6191402351b5034462504c850dd6829d /calendar/gui/e-cal-view.h | |
parent | 451cc1a07a7010fba205ffebfb7778b284f524cf (diff) | |
download | gsoc2013-evolution-9480887536f318abc6f8540ca2a8d9114becc6e3.tar.gz gsoc2013-evolution-9480887536f318abc6f8540ca2a8d9114becc6e3.tar.zst gsoc2013-evolution-9480887536f318abc6f8540ca2a8d9114becc6e3.zip |
moved duplicated code to...
2003-07-18 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-day-view.[ch]:
* gui/e-week-view.[ch]: moved duplicated code to...
* gui/e-cal-view.[ch]: ...here.
(e_cal_view_get_calendar, e_cal_view_set_calendar): new functions.
* gui/e-week-view-event-item.c (e_week_event_item_double_click):
* gui/gnome-cal.c (setup_widgets): adapted to changes in views.
svn path=/trunk/; revision=21865
Diffstat (limited to 'calendar/gui/e-cal-view.h')
-rw-r--r-- | calendar/gui/e-cal-view.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/calendar/gui/e-cal-view.h b/calendar/gui/e-cal-view.h index bbcfbc8990..275798b43a 100644 --- a/calendar/gui/e-cal-view.h +++ b/calendar/gui/e-cal-view.h @@ -23,7 +23,9 @@ #ifndef _E_CAL_VIEW_H_ #define _E_CAL_VIEW_H_ +#include <cal-client/cal-client.h> #include <gtk/gtktable.h> +#include "gnome-cal.h" G_BEGIN_DECLS @@ -46,9 +48,15 @@ struct _ECalView { struct _ECalViewClass { GtkTableClass parent_class; + + /* Notification signals */ + void (* selection_changed) (ECalView *cal_view); }; -GType e_cal_view_get_type (void); +GType e_cal_view_get_type (void); + +GnomeCalendar *e_cal_view_get_calendar (ECalView *cal_view); +void e_cal_view_set_calendar (ECalView *cal_view, GnomeCalendar *calendar); G_END_DECLS |