Merge branch 'master' of ssh://git.claws-mail.org/home/git/claws
[claws.git] / src / plugins / vcalendar / vcal_meeting_gtk.h
1 /*
2  * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
3  * Copyright (C) 1999-2007 Colin Leroy <colin@colino.net> and 
4  * the Claws Mail team
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19  */
20
21 #ifndef __VCAL_MEETING_GTK_H__
22 #define __VCAL_MEETING_GTK_H__
23
24 #include <glib.h>
25 #include <gtk/gtk.h>
26 #include "vcal_manager.h"
27
28 typedef struct _VCalMeeting VCalMeeting;
29 typedef struct _VCalAttendee VCalAttendee;
30
31 VCalMeeting *vcal_meeting_create(VCalEvent *event);
32 VCalMeeting *vcal_meeting_create_hidden(VCalEvent *event);
33 VCalMeeting *vcal_meeting_create_with_start(VCalEvent *event, struct tm *sdate);
34 gboolean vcal_meeting_send(VCalMeeting *meet);
35 gboolean vcal_meeting_alert_check(gpointer data);
36 gboolean vcal_meeting_export_calendar(const gchar *path, const gchar *user, const gchar *pass,gboolean automatic);
37 gboolean vcal_meeting_export_freebusy(const gchar *path, const gchar *user, const gchar *pass);
38 gboolean attendee_available(VCalAttendee *attendee, const gchar *dtstart, const gchar *dtend, const gchar *contents);
39 #endif