2 * Claws Mail -- a GTK based, lightweight, and fast e-mail client
3 * Copyright (C) 1999-2007 Colin Leroy <colin@colino.net> and
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.
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.
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.
21 #ifndef __VCAL_FOLDER_H__
22 #define __VCAL_FOLDER_H__
27 extern gboolean manual_update
;
28 typedef struct _day_win day_win
;
29 typedef struct _month_win month_win
;
30 FolderClass
*vcal_folder_get_class();
31 void vcal_folder_gtk_init(void);
32 void vcal_folder_gtk_done(void);
33 GSList
*vcal_folder_get_waiting_events(void);
34 GSList
*vcal_folder_get_webcal_events(void);
35 GSList
* vcal_folder_get_webcal_events_for_folder(FolderItem
*item
);
36 void vcal_folder_export(Folder
*folder
);
38 gboolean
vcal_curl_put(gchar
*url
, FILE *fp
, gint filesize
, const gchar
*user
, const gchar
*pass
);
39 gchar
*vcal_curl_read(const char *url
, const gchar
*label
, gboolean verbose
,
40 void (*callback
)(const gchar
*url
, gchar
*data
, gboolean verbose
, gchar
42 gchar
* get_item_event_list_for_date(FolderItem
*item
, EventTime date
);
43 void vcal_folder_block_export(gboolean block
);
44 void vcal_folder_refresh_cal(FolderItem
*item
);
45 GSList
*vcal_get_events_list(FolderItem
*item
);
47 day_win
*create_day_win(FolderItem
*item
, struct tm tmdate
);
48 void refresh_day_win(day_win
*dw
);
49 void dw_close_window(day_win
*dw
);
51 month_win
*create_month_win(FolderItem
*item
, struct tm tmdate
);
52 void refresh_month_win(month_win
*dw
);
53 void mw_close_window(month_win
*dw
);
55 VCalEvent
*vcal_get_event_from_ical(const gchar
*ical
, const gchar
*charset
);
57 void vcal_folder_free_data(void);