diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2003-07-17 20:00:40 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2003-07-17 20:00:40 +0800 |
commit | ce6939b848eb228ec705aac4c8de6cfec16ecd10 (patch) | |
tree | 045f620b4d4c22352cba5568b697c688ed8c5a10 /calendar/gui/e-calendar-view.h | |
parent | e05eb7f89e180a734a07ee6576f56b8bfa84fc17 (diff) | |
download | gsoc2013-evolution-ce6939b848eb228ec705aac4c8de6cfec16ecd10.tar gsoc2013-evolution-ce6939b848eb228ec705aac4c8de6cfec16ecd10.tar.gz gsoc2013-evolution-ce6939b848eb228ec705aac4c8de6cfec16ecd10.tar.bz2 gsoc2013-evolution-ce6939b848eb228ec705aac4c8de6cfec16ecd10.tar.lz gsoc2013-evolution-ce6939b848eb228ec705aac4c8de6cfec16ecd10.tar.xz gsoc2013-evolution-ce6939b848eb228ec705aac4c8de6cfec16ecd10.tar.zst gsoc2013-evolution-ce6939b848eb228ec705aac4c8de6cfec16ecd10.zip |
new base class for calendar views.
2003-07-17 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-view.[ch]: new base class for calendar views.
* gui/e-day-view.[ch]:
* gui/e-week-view.[ch]: base these classes on ECalView.
* gui/Makefile.am: added new files.
svn path=/trunk/; revision=21854
Diffstat (limited to 'calendar/gui/e-calendar-view.h')
-rw-r--r-- | calendar/gui/e-calendar-view.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/calendar/gui/e-calendar-view.h b/calendar/gui/e-calendar-view.h new file mode 100644 index 0000000000..bbcfbc8990 --- /dev/null +++ b/calendar/gui/e-calendar-view.h @@ -0,0 +1,55 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ + +/* + * Author : + * Rodrigo Moya <rodrigo@ximian.com> + * + * Copyright 2003, Ximian, Inc. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of version 2 of the GNU General Public + * License as published by the Free Software Foundation. + * + * 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + */ +#ifndef _E_CAL_VIEW_H_ +#define _E_CAL_VIEW_H_ + +#include <gtk/gtktable.h> + +G_BEGIN_DECLS + +/* + * EView - base widget class for the calendar views. + */ + +#define E_CAL_VIEW(obj) GTK_CHECK_CAST (obj, e_cal_view_get_type (), ECalView) +#define E_CAL_VIEW_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, e_cal_view_get_type (), ECalViewClass) +#define E_IS_CAL_VIEW(obj) GTK_CHECK_TYPE (obj, e_cal_view_get_type ()) + +typedef struct _ECalView ECalView; +typedef struct _ECalViewClass ECalViewClass; +typedef struct _ECalViewPrivate ECalViewPrivate; + +struct _ECalView { + GtkTable table; + ECalViewPrivate *priv; +}; + +struct _ECalViewClass { + GtkTableClass parent_class; +}; + +GType e_cal_view_get_type (void); + +G_END_DECLS + +#endif |