|
zacw@1739
|
1 |
/** |
|
zacw@1739
|
2 |
* @file sound-theme-loader.h Purple Sound Theme Loader Class API |
|
zacw@1739
|
3 |
*/ |
|
zacw@1739
|
4 |
|
|
zacw@1739
|
5 |
/* purple |
|
zacw@1739
|
6 |
* |
|
zacw@1739
|
7 |
* Purple is the legal property of its developers, whose names are too numerous |
|
zacw@1739
|
8 |
* to list here. Please refer to the COPYRIGHT file distributed with this |
|
zacw@1739
|
9 |
* source distribution. |
|
zacw@1739
|
10 |
* |
|
zacw@1739
|
11 |
* This program is free software; you can redistribute it and/or modify |
|
zacw@1739
|
12 |
* it under the terms of the GNU General Public License as published by |
|
zacw@1739
|
13 |
* the Free Software Foundation; either version 2 of the License, or |
|
zacw@1739
|
14 |
* (at your option) any later version. |
|
zacw@1739
|
15 |
* |
|
zacw@1739
|
16 |
* This program is distributed in the hope that it will be useful, |
|
zacw@1739
|
17 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
zacw@1739
|
18 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
zacw@1739
|
19 |
* GNU General Public License for more details. |
|
zacw@1739
|
20 |
* |
|
zacw@1739
|
21 |
* You should have received a copy of the GNU General Public License |
|
zacw@1739
|
22 |
* along with this program; if not, write to the Free Software |
|
zacw@1739
|
23 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
|
zacw@1739
|
24 |
*/ |
|
zacw@1739
|
25 |
|
|
zacw@1739
|
26 |
#ifndef PURPLE_SOUND_THEME_LOADER_H |
|
zacw@1739
|
27 |
#define PURPLE_SOUND_THEME_LOADER_H |
|
zacw@1739
|
28 |
|
|
zacw@1739
|
29 |
#include <glib.h> |
|
zacw@1739
|
30 |
#include <glib-object.h> |
|
zacw@1739
|
31 |
#include "theme-loader.h" |
|
zacw@1739
|
32 |
|
|
zacw@1739
|
33 |
/** |
|
zacw@1739
|
34 |
* A purple sound theme loader. extends PurpleThemeLoader (theme-loader.h) |
|
zacw@1739
|
35 |
* This is a class designed to build sound themes |
|
zacw@1739
|
36 |
* |
|
zacw@1739
|
37 |
* PurpleSoundThemeLoader is a GObject. |
|
zacw@1739
|
38 |
*/ |
|
zacw@1739
|
39 |
typedef struct _PurpleSoundThemeLoader PurpleSoundThemeLoader; |
|
zacw@1739
|
40 |
typedef struct _PurpleSoundThemeLoaderClass PurpleSoundThemeLoaderClass; |
|
zacw@1739
|
41 |
|
|
zacw@1739
|
42 |
#define PURPLE_TYPE_SOUND_THEME_LOADER (purple_sound_theme_loader_get_type()) |
|
zacw@1739
|
43 |
#define PURPLE_SOUND_THEME_LOADER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PURPLE_TYPE_SOUND_THEME_LOADER, PurpleSoundThemeLoader)) |
|
zacw@1739
|
44 |
#define PURPLE_SOUND_THEME_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PURPLE_TYPE_SOUND_THEME_LOADER, PurpleSoundThemeLoaderClass)) |
|
zacw@1739
|
45 |
#define PURPLE_IS_SOUND_THEME_LOADER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PURPLE_TYPE_SOUND_THEME_LOADER)) |
|
zacw@1739
|
46 |
#define PURPLE_IS_SOUND_THEME_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), PURPLE_TYPE_SOUND_THEME_LOADER)) |
|
zacw@1739
|
47 |
#define PURPLE_SOUND_THEME_LOADER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PURPLE_TYPE_SOUND_THEME_LOADER, PurpleSoundThemeLoaderClass)) |
|
zacw@1739
|
48 |
|
|
zacw@1739
|
49 |
struct _PurpleSoundThemeLoader |
|
zacw@1739
|
50 |
{ |
|
zacw@1739
|
51 |
PurpleThemeLoader parent; |
|
zacw@1739
|
52 |
}; |
|
zacw@1739
|
53 |
|
|
zacw@1739
|
54 |
struct _PurpleSoundThemeLoaderClass |
|
zacw@1739
|
55 |
{ |
|
zacw@1739
|
56 |
PurpleThemeLoaderClass parent_class; |
|
zacw@1739
|
57 |
}; |
|
zacw@1739
|
58 |
|
|
zacw@1739
|
59 |
/**************************************************************************/ |
|
zacw@1739
|
60 |
/** @name Purple Theme-Loader API */ |
|
zacw@1739
|
61 |
/**************************************************************************/ |
|
zacw@1739
|
62 |
G_BEGIN_DECLS |
|
zacw@1739
|
63 |
|
|
zacw@1739
|
64 |
/** |
|
zacw@1739
|
65 |
* GObject foo. |
|
zacw@1739
|
66 |
* @internal. |
|
zacw@1739
|
67 |
*/ |
|
zacw@1739
|
68 |
GType purple_sound_theme_loader_get_type(void); |
|
zacw@1739
|
69 |
|
|
zacw@1739
|
70 |
G_END_DECLS |
|
zacw@1739
|
71 |
#endif /* PURPLE_SOUND_THEME_LOADER_H */ |