Main Page | Alphabetical List | Compound List | File List | Compound Members | File Members

gtk-server-editor.h

Go to the documentation of this file.
00001 /*
00002  * XetPan: a libEtPan! based Mail User Agent
00003  * Copyright (C) 2002-2003 Melvin Hadasht
00004  *
00005  * This program is free software; you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License as published by
00007  * the Free Software Foundation; either version 2 of the License, or
00008  * (at your option) any later version.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program; if not, write to the Free Software
00017  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00018  */
00019 
00020 #ifndef GTK_SERVER_EDITOR_H
00021 #define GTK_SERVER_EDITOR_H
00022 
00023 #include <gtk/gtkwidget.h>
00024 #include <clist.h>
00025 #include "server.h"
00026 
00027 typedef enum {
00028   XEP_SERVEREDITOR_NONE,
00029   XEP_SERVEREDITOR_IMAP,
00030   XEP_SERVEREDITOR_POP3,
00031   XEP_SERVEREDITOR_NNTP,
00032   XEP_SERVEREDITOR_SMTP
00033 } XePGtkServerType;
00034 
00035 typedef struct XePGtkServerEditor_s XePGtkServerEditor;
00036 
00037 #define XEP_SEDITOR_WIDGET(s) a_GtkServerEditor_get_widget(s)
00038 
00039 XePGtkServerEditor *
00040 a_GtkServerEditor_new(void);
00041 
00046 void 
00047 a_GtkServerEditor_free(XePGtkServerEditor *seditor);
00048 
00049 GtkWidget *
00050 a_GtkServerEditor_get_widget(XePGtkServerEditor *seditor);
00051 
00052 void
00053 a_GtkServerEditor_set_server(XePGtkServerEditor *seditor, 
00054                              XePServer *server);
00055 
00056 void
00057 a_GtkServerEditor_set_type(XePGtkServerEditor *seditor,
00058                            XePGtkServerType type);
00059 
00060 void
00061 a_GtkServerEditor_set_mailboxes(XePGtkServerEditor *seditor,
00062                                 clist *mailboxes);
00063 
00064 
00065 void
00066 a_GtkServerEditor_apply_changes(XePGtkServerEditor *seditor);
00067 
00068 #endif

Generated on Wed Oct 22 15:50:35 2003 for XetPan by doxygen 1.3.2