Frameworks/libpurple.framework/Versions/0.6.2/Headers/sound-theme-loader.h
changeset 2592 e8d15275025e
parent 1739 8b0daad9656c
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Frameworks/libpurple.framework/Versions/0.6.2/Headers/sound-theme-loader.h	Fri Aug 21 13:25:11 2009 -0700
     1.3 @@ -0,0 +1,71 @@
     1.4 +/**
     1.5 + * @file sound-theme-loader.h  Purple Sound Theme Loader Class API
     1.6 + */
     1.7 +
     1.8 +/* purple
     1.9 + *
    1.10 + * Purple is the legal property of its developers, whose names are too numerous
    1.11 + * to list here.  Please refer to the COPYRIGHT file distributed with this
    1.12 + * source distribution.
    1.13 + *
    1.14 + * This program is free software; you can redistribute it and/or modify
    1.15 + * it under the terms of the GNU General Public License as published by
    1.16 + * the Free Software Foundation; either version 2 of the License, or
    1.17 + * (at your option) any later version.
    1.18 + *
    1.19 + * This program is distributed in the hope that it will be useful,
    1.20 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.21 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.22 + * GNU General Public License for more details.
    1.23 + *
    1.24 + * You should have received a copy of the GNU General Public License
    1.25 + * along with this program; if not, write to the Free Software
    1.26 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
    1.27 + */
    1.28 +
    1.29 +#ifndef PURPLE_SOUND_THEME_LOADER_H
    1.30 +#define PURPLE_SOUND_THEME_LOADER_H
    1.31 +
    1.32 +#include <glib.h>
    1.33 +#include <glib-object.h>
    1.34 +#include "theme-loader.h"
    1.35 +
    1.36 +/**
    1.37 + * A purple sound theme loader. extends PurpleThemeLoader (theme-loader.h)
    1.38 + * This is a class designed to build sound themes
    1.39 + *
    1.40 + * PurpleSoundThemeLoader is a GObject.
    1.41 + */
    1.42 +typedef struct _PurpleSoundThemeLoader        PurpleSoundThemeLoader;
    1.43 +typedef struct _PurpleSoundThemeLoaderClass   PurpleSoundThemeLoaderClass;
    1.44 +
    1.45 +#define PURPLE_TYPE_SOUND_THEME_LOADER            (purple_sound_theme_loader_get_type())
    1.46 +#define PURPLE_SOUND_THEME_LOADER(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), PURPLE_TYPE_SOUND_THEME_LOADER, PurpleSoundThemeLoader))
    1.47 +#define PURPLE_SOUND_THEME_LOADER_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass), PURPLE_TYPE_SOUND_THEME_LOADER, PurpleSoundThemeLoaderClass))
    1.48 +#define PURPLE_IS_SOUND_THEME_LOADER(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), PURPLE_TYPE_SOUND_THEME_LOADER))
    1.49 +#define PURPLE_IS_SOUND_THEME_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), PURPLE_TYPE_SOUND_THEME_LOADER))
    1.50 +#define PURPLE_SOUND_THEME_LOADER_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj), PURPLE_TYPE_SOUND_THEME_LOADER, PurpleSoundThemeLoaderClass))
    1.51 +
    1.52 +struct _PurpleSoundThemeLoader
    1.53 +{
    1.54 +	PurpleThemeLoader parent;
    1.55 +};
    1.56 +
    1.57 +struct _PurpleSoundThemeLoaderClass
    1.58 +{
    1.59 +	PurpleThemeLoaderClass parent_class;
    1.60 +};
    1.61 +
    1.62 +/**************************************************************************/
    1.63 +/** @name Purple Theme-Loader API                                         */
    1.64 +/**************************************************************************/
    1.65 +G_BEGIN_DECLS
    1.66 +
    1.67 +/**
    1.68 + * GObject foo.
    1.69 + * @internal.
    1.70 + */
    1.71 +GType purple_sound_theme_loader_get_type(void);
    1.72 +
    1.73 +G_END_DECLS
    1.74 +#endif /* PURPLE_SOUND_THEME_LOADER_H */