/* * calendar-view.c * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) version 3. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with the program; if not, see * */ #include "calendar-view.h" G_DEFINE_TYPE ( GalViewCalendarDay, gal_view_calendar_day, GAL_TYPE_VIEW) G_DEFINE_TYPE ( GalViewCalendarWorkWeek, gal_view_calendar_work_week, GAL_TYPE_VIEW) G_DEFINE_TYPE ( GalViewCalendarWeek, gal_view_calendar_week, GAL_TYPE_VIEW) G_DEFINE_TYPE ( GalViewCalendarMonth, gal_view_calendar_month, GAL_TYPE_VIEW) static const gchar * gal_view_calendar_day_get_type_code (GalView *view) { return "day_view"; } static void gal_view_calendar_day_class_init (GalViewClass *class) { class->get_type_code = gal_view_calendar_day_get_type_code; } static void gal_view_calendar_day_init (GalView *view) { } static const gchar * gal_view_calendar_work_week_get_type_code (GalView *view) { return "work_week_view"; } static void gal_view_calendar_work_week_class_init (GalViewClass *class) { class->get_type_code = gal_view_calendar_work_week_get_type_code; } static void gal_view_calendar_work_week_init (GalView *view) { } static const gchar * gal_view_calendar_week_get_type_code (GalView *view) { return "week_view"; } static void gal_view_calendar_week_class_init (GalViewClass *class) { class->get_type_code = gal_view_calendar_week_get_type_code; } static void gal_view_calendar_week_init (GalView *view) { } static const gchar * gal_view_calendar_month_get_type_code (GalView *view) { return "month_view"; } static void gal_view_calendar_month_class_init (GalViewClass *class) { class->get_type_code = gal_view_calendar_month_get_type_code; } static void gal_view_calendar_month_init (GalView *view) { }