Frameworks/libpurple.framework/Versions/0.6.0/Headers/theme-loader.h
changeset 2592 e8d15275025e
parent 2591 f66a716bfc79
child 2593 b4bd28402abc
     1.1 --- a/Frameworks/libpurple.framework/Versions/0.6.0/Headers/theme-loader.h	Fri Aug 21 13:24:36 2009 -0700
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,93 +0,0 @@
     1.4 -/**
     1.5 - * @file theme-loader.h  Purple Theme Loader Abstact 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_THEME_LOADER_H
    1.30 -#define PURPLE_THEME_LOADER_H
    1.31 -
    1.32 -#include <glib.h>
    1.33 -#include <glib-object.h>
    1.34 -#include "theme.h"
    1.35 -
    1.36 -/**
    1.37 - * A purple theme loader.
    1.38 - * This is an abstract class for Purple to use with the Purple theme manager.
    1.39 - * The loader is responsible for building each type of theme
    1.40 - *
    1.41 - * PurpleThemeLoader is a GObject.
    1.42 - */
    1.43 -typedef struct _PurpleThemeLoader        PurpleThemeLoader;
    1.44 -typedef struct _PurpleThemeLoaderClass   PurpleThemeLoaderClass;
    1.45 -
    1.46 -#define PURPLE_TYPE_THEME_LOADER            (purple_theme_loader_get_type())
    1.47 -#define PURPLE_THEME_LOADER(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), PURPLE_TYPE_THEME_LOADER, PurpleThemeLoader))
    1.48 -#define PURPLE_THEME_LOADER_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass), PURPLE_TYPE_THEME_LOADER, PurpleThemeLoaderClass))
    1.49 -#define PURPLE_IS_THEME_LOADER(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), PURPLE_TYPE_THEME_LOADER))
    1.50 -#define PURPLE_IS_THEME_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), PURPLE_TYPE_THEME_LOADER))
    1.51 -#define PURPLE_THEME_LOADER_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj), PURPLE_TYPE_THEME_LOADER, PurpleThemeLoaderClass))
    1.52 -
    1.53 -struct _PurpleThemeLoader
    1.54 -{
    1.55 -	GObject parent;
    1.56 -	gpointer priv;
    1.57 -};
    1.58 -
    1.59 -struct _PurpleThemeLoaderClass
    1.60 -{
    1.61 -	GObjectClass parent_class;
    1.62 -	PurpleTheme *((*purple_theme_loader_build)(const gchar*));
    1.63 -};
    1.64 -
    1.65 -/**************************************************************************/
    1.66 -/** @name Purple Theme-Loader API                                         */
    1.67 -/**************************************************************************/
    1.68 -G_BEGIN_DECLS
    1.69 -
    1.70 -/**
    1.71 - * GObject foo.
    1.72 - * @internal.
    1.73 - */
    1.74 -GType purple_theme_loader_get_type(void);
    1.75 -
    1.76 -/**
    1.77 - * Returns the string represtenting the type of the theme loader
    1.78 - *
    1.79 - * @param self The theme loader
    1.80 - *
    1.81 - * @returns The string represting this type
    1.82 - */
    1.83 -const gchar *purple_theme_loader_get_type_string(PurpleThemeLoader *self);
    1.84 -
    1.85 -/**
    1.86 - * Creates a new PurpleTheme
    1.87 - *
    1.88 - * @param loader The theme loader
    1.89 - * @param dir    The directory containing the theme
    1.90 - *
    1.91 - * @returns A PurpleTheme containing the information from the directory
    1.92 - */
    1.93 -PurpleTheme *purple_theme_loader_build(PurpleThemeLoader *loader, const gchar *dir);
    1.94 -
    1.95 -G_END_DECLS
    1.96 -#endif /* PURPLE_THEME_LOADER_H */