comparison pidgin/gtkstatus-icon-theme.h @ 23697:0bbfb20bad19

Clean up status icon themes a bit
author Justin Rodriguez <ffdragon@soc.pidgin.im>
date Fri, 08 Aug 2008 20:47:15 +0000
parents
children 0c7b74fc558e
comparison
equal deleted inserted replaced
23696:2753d96ed2bb 23697:0bbfb20bad19
1 /**
2 * @file status_icon-theme.h Pidgin Icon Theme Class API
3 */
4
5 /* pidgin
6 *
7 * Pidgin 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., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
24 */
25
26 #ifndef _PIDGIN_STATUS_ICON_THEME_H_
27 #define _PIDGIN_STATUS_ICON_THEME_H_
28
29 #include <glib-object.h>
30 #include "gtkicon-theme.h"
31
32 /**
33 * extends PidginIconTheme (gtkicon-theme.h)
34 * A pidgin status icon theme.
35 * This object represents a Pidgin status icon theme.
36 *
37 * PidginStatusIconTheme is a PidginIconTheme Object.
38 */
39 typedef struct _PidginStatusIconTheme PidginStatusIconTheme;
40 typedef struct _PidginStatusIconThemeClass PidginStatusIconThemeClass;
41
42 #define PIDGIN_TYPE_STATUS_ICON_THEME (pidgin_status_icon_theme_get_type ())
43 #define PIDGIN_STATUS_ICON_THEME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PIDGIN_TYPE_STATUS_ICON_THEME, PidginStatusIconTheme))
44 #define PIDGIN_STATUS_ICON_THEME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PIDGIN_TYPE_STATUS_ICON_THEME, PidginStatusIconThemeClass))
45 #define PIDGIN_IS_STATUS_ICON_THEME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PIDGIN_TYPE_STATUS_ICON_THEME))
46 #define PIDGIN_IS_STATUS_ICON_THEME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PIDGIN_TYPE_STATUS_ICON_THEME))
47 #define PIDGIN_STATUS_ICON_THEME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PIDGIN_TYPE_STATUS_ICON_THEME, PidginStatusIconThemeClass))
48
49 struct _PidginStatusIconTheme
50 {
51 PidginIconTheme parent;
52 };
53
54 struct _PidginStatusIconThemeClass
55 {
56 PidginIconThemeClass parent_class;
57 };
58
59 /**************************************************************************/
60 /** @name Pidgin Status Icon Theme API */
61 /**************************************************************************/
62 G_BEGIN_DECLS
63
64 /**
65 * GObject foo.
66 * @internal.
67 */
68 GType pidgin_status_icon_theme_get_type(void);
69
70 G_END_DECLS
71 #endif /* _PIDGIN_STATUS_ICON_THEME_H_ */