10178
|
1 /**
|
|
2 * @file gtkstatusselector.h Status selector widget
|
|
3 * @ingroup gtkui
|
|
4 *
|
|
5 * gaim
|
|
6 *
|
|
7 * Gaim is the legal property of its developers, whose names are too numerous
|
|
8 * to list here. Please refer to the COPYRIGHT file distributed with this
|
|
9 * source distribution.
|
|
10 *
|
|
11 * This program is free software; you can redistribute it and/or modify
|
|
12 * it under the terms of the GNU General Public License as published by
|
|
13 * the Free Software Foundation; either version 2 of the License, or
|
|
14 * (at your option) any later version.
|
|
15 *
|
|
16 * This program is distributed in the hope that it will be useful,
|
|
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19 * GNU General Public License for more details.
|
|
20 *
|
|
21 * You should have received a copy of the GNU General Public License
|
|
22 * along with this program; if not, write to the Free Software
|
|
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
24 */
|
|
25 #ifndef _GAIM_GTKSTATUSSELECTOR_H_
|
|
26 #define _GAIM_GTKSTATUSSELECTOR_H_
|
|
27
|
|
28 #include <gtk/gtkvbox.h>
|
|
29
|
|
30 #ifdef __cplusplus
|
|
31 extern "C" {
|
|
32 #endif
|
|
33
|
|
34 #define GAIM_GTK_TYPE_STATUS_SELECTOR (gaim_gtk_status_selector_get_type())
|
|
35 #define GAIM_GTK_STATUS_SELECTOR(obj) (GTK_CHECK_CAST((obj), GAIM_GTK_TYPE_STATUS_SELECTOR, GaimGtkStatusSelector))
|
|
36 #define GAIM_GTK_STATUS_SELECTOR_CLASS(klass) (GTK_CHECK_CLASS_CAST((klass), GAIM_GTK_TYPE_STATUS_SELECTOR, GaimGtkStatusSelectorClass))
|
|
37 #define GAIM_GTK_IS_STATUS_SELECTOR(obj) (GTK_CHECK_TYPE((obj), GAIM_GTK_TYPE_STATUS_SELECTOR))
|
|
38 #define GAIM_GTK_IS_STATUS_SELECTOR_CLASS(klass) (GTK_CHECK_CLASS_TYPE((klass), GAIM_GTK_TYPE_STATUS_SELECTOR))
|
|
39
|
|
40 typedef struct _GaimGtkStatusSelector GaimGtkStatusSelector;
|
|
41 typedef struct _GaimGtkStatusSelectorClass GaimGtkStatusSelectorClass;
|
|
42 typedef struct _GaimGtkStatusSelectorPrivate GaimGtkStatusSelectorPrivate;
|
|
43
|
|
44 struct _GaimGtkStatusSelector
|
|
45 {
|
|
46 GtkVBox parent_object;
|
|
47
|
|
48 GaimGtkStatusSelectorPrivate *priv;
|
|
49
|
|
50 void (*_gtk_reserved1)(void);
|
|
51 void (*_gtk_reserved2)(void);
|
|
52 void (*_gtk_reserved3)(void);
|
|
53 void (*_gtk_reserved4)(void);
|
|
54 };
|
|
55
|
|
56 struct _GaimGtkStatusSelectorClass
|
|
57 {
|
|
58 GtkVBoxClass parent_class;
|
|
59
|
|
60 void (*_gtk_reserved1)(void);
|
|
61 void (*_gtk_reserved2)(void);
|
|
62 void (*_gtk_reserved3)(void);
|
|
63 void (*_gtk_reserved4)(void);
|
|
64 };
|
|
65
|
|
66
|
|
67 /**
|
|
68 * Returns the status selector widget's GType.
|
|
69 *
|
|
70 * @return GaimGtkStatusSelector's GType.
|
|
71 */
|
|
72 GType gaim_gtk_status_selector_get_type(void);
|
|
73
|
|
74 /**
|
|
75 * Creates a new status selector widget.
|
|
76 *
|
|
77 * @return The new status selector widget.
|
|
78 */
|
|
79 GtkWidget *gaim_gtk_status_selector_new(void);
|
|
80
|
|
81 #ifdef __cplusplus
|
|
82 }
|
|
83 #endif
|
|
84
|
|
85 #endif /* _GAIM_GTKSTATUSSELECTOR_H_ */
|