Updated Galician translation
[evolution.git] / widgets / misc / e-online-button.h
blob03f676d75cda8195c05ed95941134801ad355d76
1 /*
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU Lesser General Public
4 * License as published by the Free Software Foundation; either
5 * version 2 of the License, or (at your option) version 3.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 * Lesser General Public License for more details.
12 * You should have received a copy of the GNU Lesser General Public
13 * License along with the program; if not, see <http://www.gnu.org/licenses/>
15 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
18 #ifndef E_ONLINE_BUTTON_H
19 #define E_ONLINE_BUTTON_H
21 #include <gtk/gtk.h>
23 /* Standard GObject macros */
24 #define E_TYPE_ONLINE_BUTTON \
25 (e_online_button_get_type ())
26 #define E_ONLINE_BUTTON(obj) \
27 (G_TYPE_CHECK_INSTANCE_CAST \
28 ((obj), E_TYPE_ONLINE_BUTTON, EOnlineButton))
29 #define E_ONLINE_BUTTON_CLASS(cls) \
30 (G_TYPE_CHECK_CLASS_CAST \
31 ((cls), E_TYPE_ONLINE_BUTTON, EOnlineButtonClass))
32 #define E_IS_ONLINE_BUTTON(obj) \
33 (G_TYPE_CHECK_INSTANCE_TYPE \
34 ((obj), E_TYPE_ONLINE_BUTTON))
35 #define E_IS_ONLINE_BUTTON_CLASS(cls) \
36 (G_TYPE_CHECK_CLASS_TYPE \
37 ((cls), E_TYPE_ONLINE_BUTTON))
38 #define E_ONLINE_BUTTON_GET_CLASS(obj) \
39 (G_TYPE_INSTANCE_GET_CLASS \
40 ((obj), E_TYPE_ONLINE_BUTTON, EOnlineButtonClass))
42 G_BEGIN_DECLS
44 typedef struct _EOnlineButton EOnlineButton;
45 typedef struct _EOnlineButtonClass EOnlineButtonClass;
46 typedef struct _EOnlineButtonPrivate EOnlineButtonPrivate;
48 struct _EOnlineButton {
49 GtkButton parent;
50 EOnlineButtonPrivate *priv;
53 struct _EOnlineButtonClass {
54 GtkButtonClass parent_class;
57 GType e_online_button_get_type (void);
58 GtkWidget * e_online_button_new (void);
59 gboolean e_online_button_get_online (EOnlineButton *button);
60 void e_online_button_set_online (EOnlineButton *button,
61 gboolean online);
63 G_END_DECLS
65 #endif /* E_ONLINE_BUTTON_H */