Updated Spanish translation
[evolution.git] / e-util / e-proxy-editor.h
blob0db6b67e03a2409b023759e8acee88e273a75d76
1 /*
2 * e-proxy-editor.h
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
10 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
11 * for more details.
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this program; if not, see <http://www.gnu.org/licenses/>.
18 #if !defined (__E_UTIL_H_INSIDE__) && !defined (LIBEUTIL_COMPILATION)
19 #error "Only <e-util/e-util.h> should be included directly."
20 #endif
22 #ifndef E_PROXY_EDITOR_H
23 #define E_PROXY_EDITOR_H
25 #include <gtk/gtk.h>
26 #include <libedataserver/libedataserver.h>
28 /* Standard GObject macros */
29 #define E_TYPE_PROXY_EDITOR \
30 (e_proxy_editor_get_type ())
31 #define E_PROXY_EDITOR(obj) \
32 (G_TYPE_CHECK_INSTANCE_CAST \
33 ((obj), E_TYPE_PROXY_EDITOR, EProxyEditor))
34 #define E_PROXY_EDITOR_CLASS(cls) \
35 (G_TYPE_CHECK_CLASS_CAST \
36 ((cls), E_TYPE_PROXY_EDITOR, EProxyEditorClass))
37 #define E_IS_PROXY_EDITOR(obj) \
38 (G_TYPE_CHECK_INSTANCE_TYPE \
39 ((obj), E_TYPE_PROXY_EDITOR))
40 #define E_IS_PROXY_EDITOR_CLASS(cls) \
41 (G_TYPE_CHECK_CLASS_TYPE \
42 ((cls), E_TYPE_PROXY_EDITOR))
43 #define E_PROXY_EDITOR_GET_CLASS(obj) \
44 (G_TYPE_INSTANCE_GET_CLASS \
45 ((obj), E_TYPE_PROXY_EDITOR, EProxyEditorClass))
47 G_BEGIN_DECLS
49 typedef struct _EProxyEditor EProxyEditor;
50 typedef struct _EProxyEditorClass EProxyEditorClass;
51 typedef struct _EProxyEditorPrivate EProxyEditorPrivate;
53 /**
54 * EProxyEditor:
56 * Contains only private data that should be read and manipulated using the
57 * functions below.
58 **/
59 struct _EProxyEditor {
60 GtkGrid parent;
61 EProxyEditorPrivate *priv;
64 struct _EProxyEditorClass {
65 GtkGridClass parent_class;
68 GType e_proxy_editor_get_type (void) G_GNUC_CONST;
69 GtkWidget * e_proxy_editor_new (ESourceRegistry *registry);
70 void e_proxy_editor_save (EProxyEditor *editor);
71 ESourceRegistry *
72 e_proxy_editor_get_registry (EProxyEditor *editor);
73 ESource * e_proxy_editor_ref_source (EProxyEditor *editor);
74 void e_proxy_editor_set_source (EProxyEditor *editor,
75 ESource *source);
77 G_END_DECLS
79 #endif /* E_PROXY_EDITOR_H */