Updated Traditional Chinese translation.
[evolution.git] / mail / em-account-prefs.h
blob99cf676b2c099f1ac7cda0fdf20c44742463786a
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * Authors: Jeffrey Stedfast <fejj@ximian.com>
5 * Copyright 2002-2003 Ximian, Inc. (www.ximian.com)
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA.
24 #ifndef __EM_ACCOUNT_PREFS_H__
25 #define __EM_ACCOUNT_PREFS_H__
27 #ifdef __cplusplus
28 extern "C" {
29 #pragma }
30 #endif /* __cplusplus */
32 #include <gtk/gtkvbox.h>
33 #include <gtk/gtkbutton.h>
34 #include <gtk/gtkclist.h>
35 #include <glade/glade.h>
36 #include <gtk/gtktreeview.h>
38 #include <table/e-table.h>
40 #include "evolution-config-control.h"
42 #include <shell/Evolution.h>
45 #define EM_ACCOUNT_PREFS_TYPE (em_account_prefs_get_type ())
46 #define EM_ACCOUNT_PREFS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EM_ACCOUNT_PREFS_TYPE, EMAccountPrefs))
47 #define EM_ACCOUNT_PREFS_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), EM_ACCOUNT_PREFS_TYPE, EMAccountPrefsClass))
48 #define EM_IS_ACCOUNT_PREFS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EM_ACCOUNT_PREFS_TYPE))
49 #define EM_IS_ACCOUNT_PREFS_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EM_ACCOUNT_PREFS_TYPE))
51 typedef struct _EMAccountPrefs EMAccountPrefs;
52 typedef struct _EMAccountPrefsClass EMAccountPrefsClass;
54 struct _EMAccountPrefs {
55 GtkVBox parent_object;
57 GNOME_Evolution_Shell shell;
59 GladeXML *gui;
61 GtkWidget *druid;
62 GtkWidget *editor;
64 GtkTreeView *table;
66 GtkButton *mail_add;
67 GtkButton *mail_edit;
68 GtkButton *mail_delete;
69 GtkButton *mail_default;
70 GtkButton *mail_able;
72 guint destroyed : 1;
75 struct _EMAccountPrefsClass {
76 GtkVBoxClass parent_class;
78 /* signals */
83 GtkType em_account_prefs_get_type (void);
85 GtkWidget *em_account_prefs_new (GNOME_Evolution_Shell shell);
87 /* needed by global config */
88 #define EM_ACCOUNT_PREFS_CONTROL_ID "OAFIID:GNOME_Evolution_Mail_AccountPrefs_ConfigControl:" BASE_VERSION
90 #ifdef __cplusplus
92 #endif
94 #endif /* __EM_ACCOUNT_PREFS_H__ */