1 /* Copyright (c) 2007-2008 Juha Kautto (juha at xfce.org)
2 * Copyright (c) 2008 Colin Leroy (colin@colino.net)
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 3 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 #ifndef __COMMON_VIEWS_H__
20 #define __COMMON_VIEWS_H__
26 #include <glib/gprintf.h>
27 #include <gdk/gdkkeysyms.h>
31 #include "summaryview.h"
32 #include "vcalendar.h"
33 #include "vcal_folder.h"
34 #include "vcal_prefs.h"
35 #include "vcal_manager.h"
36 #include "vcal_meeting_gtk.h"
38 GtkWidget
*build_line(gint start_x
, gint start_y
39 , gint width
, gint height
, GtkWidget
*hour_line
, GdkColor
*line_color
);
40 void orage_move_day(struct tm
*t
, int day
);
41 gint
orage_days_between(struct tm
*t1
, struct tm
*t2
);
42 gint
vcal_view_set_calendar_page(GtkWidget
*to_show
, GCallback cb
, gpointer data
);
43 void vcal_view_set_summary_page(GtkWidget
*to_remove
, guint selsig
);
44 void vcal_view_select_event (const gchar
*uid
, FolderItem
*item
, gboolean edit
,
45 GCallback block_cb
, gpointer block_data
);
46 void vcal_view_create_popup_menus(gpointer data
,
47 GtkWidget
**view_menu
,
48 GtkWidget
**event_menu
, GtkActionGroup
**event_group
,
49 GtkUIManager
**ui_manager
);