We should display the avatar/preview when call is disconnected
[empathy-mirror.git] / src / ephy-spinner.h
blob769d54a3d80540068eefa117f15b7b901f06a85b
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 /*
3 * Copyright © 2000 Eazel, Inc.
4 * Copyright © 2004, 2006 Christian Persch
6 * Nautilus is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * Nautilus is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 * Author: Andy Hertzfeld <andy@eazel.com>
22 * $Id: ephy-spinner.h 2114 2006-12-25 12:15:00Z mr $
25 #ifndef EPHY_SPINNER_H
26 #define EPHY_SPINNER_H
28 #include <gtk/gtk.h>
30 G_BEGIN_DECLS
32 #define EPHY_TYPE_SPINNER (ephy_spinner_get_type ())
33 #define EPHY_SPINNER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EPHY_TYPE_SPINNER, EphySpinner))
34 #define EPHY_SPINNER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EPHY_TYPE_SPINNER, EphySpinnerClass))
35 #define EPHY_IS_SPINNER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EPHY_TYPE_SPINNER))
36 #define EPHY_IS_SPINNER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_SPINNER))
37 #define EPHY_SPINNER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_SPINNER, EphySpinnerClass))
39 typedef struct _EphySpinner EphySpinner;
40 typedef struct _EphySpinnerClass EphySpinnerClass;
41 typedef struct _EphySpinnerDetails EphySpinnerDetails;
43 struct _EphySpinner
45 GtkWidget parent;
47 /*< private >*/
48 EphySpinnerDetails *details;
51 struct _EphySpinnerClass
53 GtkWidgetClass parent_class;
56 GType ephy_spinner_get_type (void);
58 GtkWidget *ephy_spinner_new (void);
60 void ephy_spinner_start (EphySpinner *throbber);
62 void ephy_spinner_stop (EphySpinner *throbber);
64 void ephy_spinner_set_size (EphySpinner *spinner,
65 GtkIconSize size);
67 G_END_DECLS
69 #endif /* EPHY_SPINNER_H */