2 * e-source-mail-transport.c
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) version 3.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with the program; if not, see <http://www.gnu.org/licenses/>
20 * SECTION: e-source-mail-transport
21 * @include: libedataserver/e-source-mail-transport.h
22 * @short_description: #ESource extension for an email transport
24 * The #ESourceMailTransport extension identifies the #ESource as a
25 * mail transport which describes where to send outgoing messages.
27 * Access the extension as follows:
30 * #include <libedataserver/e-source-mail-transport.h>
32 * ESourceMailTransport *extension;
34 * extension = e_source_get_extension (source, E_SOURCE_EXTENSION_MAIL_TRANSPORT);
38 #include "e-source-mail-transport.h"
40 #define E_SOURCE_MAIL_TRANSPORT_GET_PRIVATE(obj) \
41 (G_TYPE_INSTANCE_GET_PRIVATE \
42 ((obj), E_TYPE_SOURCE_MAIL_TRANSPORT, ESourceMailTransportPrivate))
46 e_source_mail_transport,
47 E_TYPE_SOURCE_BACKEND)
50 e_source_mail_transport_class_init (ESourceMailTransportClass *class)
52 ESourceExtensionClass *extension_class;
54 extension_class = E_SOURCE_EXTENSION_CLASS (class);
55 extension_class->name = E_SOURCE_EXTENSION_MAIL_TRANSPORT;
59 e_source_mail_transport_init (ESourceMailTransport *extension)