2 * This program is free software; you can redistribute it and/or modify it
3 * under the terms of the GNU Lesser General Public License as published by
4 * the Free Software Foundation.
6 * This program is distributed in the hope that it will be useful, but
7 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
8 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
11 * You should have received a copy of the GNU Lesser General Public License
12 * along with this program; if not, see <http://www.gnu.org/licenses/>.
16 #ifndef E_MAIL_PART_SECURE_BUTTON_H
17 #define E_MAIL_PART_SECURE_BUTTON_H
19 #include <em-format/e-mail-part.h>
21 /* Standard GObject macros */
22 #define E_TYPE_MAIL_PART_SECURE_BUTTON \
23 (e_mail_part_secure_button_get_type ())
24 #define E_MAIL_PART_SECURE_BUTTON(obj) \
25 (G_TYPE_CHECK_INSTANCE_CAST \
26 ((obj), E_TYPE_MAIL_PART_SECURE_BUTTON, EMailPartSecureButton))
27 #define E_MAIL_PART_SECURE_BUTTON_CLASS(cls) \
28 (G_TYPE_CHECK_CLASS_CAST \
29 ((cls), E_TYPE_MAIL_PART_SECURE_BUTTON, EMailPartSecureButtonClass))
30 #define E_IS_MAIL_PART_SECURE_BUTTON(obj) \
31 (G_TYPE_CHECK_INSTANCE_TYPE \
32 ((obj), E_TYPE_MAIL_PART_SECURE_BUTTON))
33 #define E_IS_MAIL_PART_SECURE_BUTTON_CLASS(cls) \
34 (G_TYPE_CHECK_CLASS_TYPE \
35 ((cls), E_TYPE_MAIL_PART_SECURE_BUTTON))
36 #define E_MAIL_PART_SECURE_BUTTON_GET_CLASS(obj) \
37 (G_TYPE_INSTANCE_GET_CLASS \
38 ((obj), E_TYPE_MAIL_PART_SECURE_BUTTON, EMailPartSecureButtonClass))
42 typedef struct _EMailPartSecureButton EMailPartSecureButton
;
43 typedef struct _EMailPartSecureButtonClass EMailPartSecureButtonClass
;
44 typedef struct _EMailPartSecureButtonPrivate EMailPartSecureButtonPrivate
;
46 struct _EMailPartSecureButton
{
48 EMailPartSecureButtonPrivate
*priv
;
51 struct _EMailPartSecureButtonClass
{
52 EMailPartClass parent_class
;
55 GType
e_mail_part_secure_button_get_type (void) G_GNUC_CONST
;
56 EMailPart
* e_mail_part_secure_button_new (CamelMimePart
*mime_part
,
61 #endif /* E_MAIL_PART_SECURE_BUTTON_H */