Bug 792781 - 'Go to Folder' incorrectly unrefs CamelFolder twice
[evolution.git] / src / mail / e-cid-request.h
blob0ed6e4b242753b2809d8fb9d887f3a2f5ab26c12
1 /*
2 * Copyright (C) 2016 Red Hat, Inc. (www.redhat.com)
4 * This library 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 library 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 Lesser 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 library. If not, see <http://www.gnu.org/licenses/>.
17 #ifndef E_CID_REQUEST_H
18 #define E_CID_REQUEST_H
20 #include <e-util/e-util.h>
22 /* Standard GObject macros */
23 #define E_TYPE_CID_REQUEST \
24 (e_cid_request_get_type ())
25 #define E_CID_REQUEST(obj) \
26 (G_TYPE_CHECK_INSTANCE_CAST \
27 ((obj), E_TYPE_CID_REQUEST, ECidRequest))
28 #define E_CID_REQUEST_CLASS(cls) \
29 (G_TYPE_CHECK_CLASS_CAST \
30 ((cls), E_TYPE_CID_REQUEST, ECidRequestClass))
31 #define E_IS_CID_REQUEST(obj) \
32 (G_TYPE_CHECK_INSTANCE_TYPE \
33 ((obj), E_TYPE_CID_REQUEST))
34 #define E_IS_CID_REQUEST_CLASS(cls) \
35 (G_TYPE_CHECK_CLASS_TYPE \
36 ((cls), E_TYPE_CID_REQUEST))
37 #define E_CID_REQUEST_GET_CLASS(obj) \
38 (G_TYPE_INSTANCE_GET_CLASS \
39 ((obj), E_TYPE_CID_REQUEST, ECidRequestClass))
41 G_BEGIN_DECLS
43 typedef struct _ECidRequest ECidRequest;
44 typedef struct _ECidRequestClass ECidRequestClass;
45 typedef struct _ECidRequestPrivate ECidRequestPrivate;
47 struct _ECidRequest {
48 GObject parent;
49 ECidRequestPrivate *priv;
52 struct _ECidRequestClass {
53 GObjectClass parent;
56 GType e_cid_request_get_type (void) G_GNUC_CONST;
57 EContentRequest *
58 e_cid_request_new (void);
60 G_END_DECLS
62 #endif /* E_CID_REQUEST_H */