2 * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 * Copyright (C) 1999-2002 Hiroyuki Yamamoto
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
30 #include "mainwindow.h"
31 #include "progressdialog.h"
32 #include "prefs_account.h"
34 #include "automaton.h"
37 typedef struct _IncProgressDialog IncProgressDialog;
38 typedef struct _IncSession IncSession;
39 typedef struct _Pop3State Pop3State;
51 struct _IncProgressDialog
53 ProgressDialog *dialog;
59 GList *queue_list; /* list of IncSession */
64 Pop3State *pop3_state;
73 PrefsAccount *ac_prefs;
74 GHashTable *folder_table;
92 GHashTable *uidl_table;
93 GSList *uidl_todelete_list;
95 gboolean uidl_is_valid;
105 #define TIMEOUT_ITV 200
107 void inc_mail (MainWindow *mainwin,
109 void inc_all_account_mail (MainWindow *mainwin,
111 void inc_selective_download (MainWindow *mainwin,
114 void inc_progress_update (Pop3State *state,
116 gint inc_drop_message (const gchar *file,
119 gboolean inc_is_active (void);
121 void inc_cancel_all (void);
123 void inc_lock (void);
124 void inc_unlock (void);
126 void inc_autocheck_timer_init (MainWindow *mainwin);
127 void inc_autocheck_timer_set (void);
128 void inc_autocheck_timer_remove (void);
130 #endif /* __INC_H__ */