blob: e0fda2913fac49f9f12f3d806a4e27b227df7d20 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
/*
* camel-null-store.h
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*
*/
/* Evolution kinda sorta supports multiple identities by allowing users
* to set up so-called "transport-only" accounts by choosing "None" for
* the account type. This bizarre hack keeps that bizzare hack working
* until we can support multiple identities properly. */
#if !defined (__LIBEMAIL_ENGINE_H_INSIDE__) && !defined (LIBEMAIL_ENGINE_COMPILATION)
#error "Only <libemail-engine/libemail-engine.h> should be included directly."
#endif
#ifndef CAMEL_NULL_STORE_H
#define CAMEL_NULL_STORE_H
#include <camel/camel.h>
/* Standard GObject macros */
#define CAMEL_TYPE_NULL_STORE \
(camel_null_store_get_type ())
#define CAMEL_NULL_STORE(obj) \
(G_TYPE_CHECK_INSTANCE_CAST \
((obj), CAMEL_TYPE_NULL_STORE, CamelNullStore))
#define CAMEL_NULL_STORE_CLASS(cls) \
(G_TYPE_CHECK_CLASS_CAST \
((cls), CAMEL_TYPE_NULL_STORE, CamelNullStoreClass))
#define CAMEL_IS_NULL_STORE(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE \
((obj), CAMEL_TYPE_NULL_STORE))
#define CAMEL_IS_NULL_STORE_CLASS(cls) \
(G_TYPE_CHECK_CLASS_TYPE \
((cls), CAMEL_TYPE_NULL_STORE))
#define CAMEL_NULL_STORE_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS \
((obj), CAMEL_TYPE_NULL_STORE, CamelNullStoreClass))
G_BEGIN_DECLS
typedef struct _CamelNullStore CamelNullStore;
typedef struct _CamelNullStoreClass CamelNullStoreClass;
struct _CamelNullStore {
CamelStore parent;
};
struct _CamelNullStoreClass {
CamelStoreClass parent_class;
};
GType camel_null_store_get_type (void);
void camel_null_store_register_provider (void);
#endif /* CAMEL_NULL_STORE_H */
|