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/>
19 /* Evolution kinda sorta supports multiple identities by allowing users
20 * to set up so-called "transport-only" accounts by choosing "None" for
21 * the account type. This bizarre hack keeps that bizzare hack working
22 * until we can support multiple identities properly. */
24 #ifndef CAMEL_NULL_STORE_H
25 #define CAMEL_NULL_STORE_H
27 #include <camel/camel.h>
29 /* Standard GObject macros */
30 #define CAMEL_TYPE_NULL_STORE \
31 (camel_null_store_get_type ())
32 #define CAMEL_NULL_STORE(obj) \
33 (G_TYPE_CHECK_INSTANCE_CAST \
34 ((obj), CAMEL_TYPE_NULL_STORE, CamelNullStore))
35 #define CAMEL_NULL_STORE_CLASS(cls) \
36 (G_TYPE_CHECK_CLASS_CAST \
37 ((cls), CAMEL_TYPE_NULL_STORE, CamelNullStoreClass))
38 #define CAMEL_IS_NULL_STORE(obj) \
39 (G_TYPE_CHECK_INSTANCE_TYPE \
40 ((obj), CAMEL_TYPE_NULL_STORE))
41 #define CAMEL_IS_NULL_STORE_CLASS(cls) \
42 (G_TYPE_CHECK_CLASS_TYPE \
43 ((cls), CAMEL_TYPE_NULL_STORE))
44 #define CAMEL_NULL_STORE_GET_CLASS(obj) \
45 (G_TYPE_INSTANCE_GET_CLASS \
46 ((obj), CAMEL_TYPE_NULL_STORE, CamelNullStoreClass))
50 typedef struct _CamelNullStore CamelNullStore
;
51 typedef struct _CamelNullStoreClass CamelNullStoreClass
;
53 struct _CamelNullStore
{
57 struct _CamelNullStoreClass
{
58 CamelStoreClass parent_class
;
61 GType
camel_null_store_get_type (void);
62 void camel_null_store_register_provider (void);
64 #endif /* CAMEL_NULL_STORE_H */