Mercurial > pidgin
comparison libpurple/sound-loader.h @ 25083:c1cabd5eb625
Added skeleton (non-working) sound loader class
author | Justin Rodriguez <ffdragon@soc.pidgin.im> |
---|---|
date | Thu, 12 Jun 2008 22:13:54 +0000 |
parents | |
children | 9ffbfbcf307d |
comparison
equal
deleted
inserted
replaced
25082:1cf10adc9b32 | 25083:c1cabd5eb625 |
---|---|
1 /** | |
2 * @file sound-loader.h Purple Sound Theme Loader Class API | |
3 */ | |
4 | |
5 /* purple | |
6 * | |
7 * Purple 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 _PURPLE_SOUND_THEME_LOADER_H_ | |
27 #define _PURPLE_SOUND_THEME_LOADER_H_ | |
28 | |
29 #include <glib.h> | |
30 #include <glib-object.h> | |
31 #include "theme-loader.h" | |
32 #include "sound-theme.h" | |
33 | |
34 /** | |
35 * A purple sound theme loader. extends PurpleThemeLoader (theme-loader.h) | |
36 * This is a class designed to build sound themes | |
37 * | |
38 * PurpleSoundThemeLoader is a GObject. | |
39 */ | |
40 typedef struct _PurpleSoundThemeLoader PurpleSoundThemeLoader; | |
41 typedef struct _PurpleSoundThemeLoaderClass PurpleSoundThemeLoaderClass; | |
42 | |
43 #define PURPLE_TYPE_SOUND_THEME_LOADER (purple_sound_theme_loader_get_type ()) | |
44 #define PURPLE_SOUND_THEME_LOADER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PURPLE_TYPE_SOUND_THEME_LOADER, PurpleSoundThemeLoader)) | |
45 #define PURPLE_SOUND_THEME_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PURPLE_TYPE_SOUND_THEME_LOADER, PurpleSoundThemeLoaderClass)) | |
46 #define PURPLE_IS_SOUND_THEME_LOADER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PURPLE_TYPE_SOUND_THEME_LOADER)) | |
47 #define PURPLE_IS_SOUND_THEME_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PURPLE_TYPE_SOUND_THEME_LOADER)) | |
48 #define PURPLE_SOUND_THEME_LOADER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PURPLE_TYPE_SOUND_THEME_LOADER, PurpleSoundThemeLoaderClass)) | |
49 | |
50 struct _PurpleSoundThemeLoader | |
51 { | |
52 PurpleThemeLoader parent; | |
53 }; | |
54 | |
55 struct _PurpleSoundThemeLoaderClass | |
56 { | |
57 PurpleThemeLoaderClass parent_class; | |
58 }; | |
59 | |
60 /**************************************************************************/ | |
61 /** @name Purple Theme-Loader API */ | |
62 /**************************************************************************/ | |
63 G_BEGIN_DECLS | |
64 | |
65 /** | |
66 * GObject foo. | |
67 * @internal. | |
68 */ | |
69 GType purple_sound_theme_loader_get_type(void); | |
70 | |
71 G_END_DECLS | |
72 #endif /* _PURPLE_SOUND_THEME_LOADER_H_ */ |