Merge branch 'trivia'
[empathy-mirror.git] / libempathy-gtk / empathy-theme-manager.h
bloba459b43cba3c770358bfbf6742524a616688c489
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * Copyright (C) 2005-2007 Imendio AB
4 * Copyright (C) 2008 Collabora Ltd.
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of the
9 * License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public
17 * License along with this program; if not, write to the
18 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
19 * Boston, MA 02110-1301 USA
21 * Authors: Xavier Claessens <xclaesse@gmail.com>
24 #ifndef __EMPATHY_THEME_MANAGER_H__
25 #define __EMPATHY_THEME_MANAGER_H__
27 #include <glib-object.h>
28 #include "empathy-chat-view.h"
30 G_BEGIN_DECLS
32 #define EMPATHY_TYPE_THEME_MANAGER (empathy_theme_manager_get_type ())
33 #define EMPATHY_THEME_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EMPATHY_TYPE_THEME_MANAGER, EmpathyThemeManager))
34 #define EMPATHY_THEME_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EMPATHY_TYPE_THEME_MANAGER, EmpathyThemeManagerClass))
35 #define EMPATHY_IS_THEME_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EMPATHY_TYPE_THEME_MANAGER))
36 #define EMPATHY_IS_THEME_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_THEME_MANAGER))
37 #define EMPATHY_THEME_MANAGER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_THEME_MANAGER, EmpathyThemeManagerClass))
39 typedef struct _EmpathyThemeManager EmpathyThemeManager;
40 typedef struct _EmpathyThemeManagerClass EmpathyThemeManagerClass;
42 struct _EmpathyThemeManager {
43 GObject parent;
44 gpointer priv;
47 struct _EmpathyThemeManagerClass {
48 GObjectClass parent_class;
51 GType empathy_theme_manager_get_type (void) G_GNUC_CONST;
52 EmpathyThemeManager * empathy_theme_manager_get (void);
53 const gchar ** empathy_theme_manager_get_themes (void);
54 GList * empathy_theme_manager_get_adium_themes (void);
55 EmpathyChatView * empathy_theme_manager_create_view (EmpathyThemeManager *manager);
57 G_END_DECLS
59 #endif /* __EMPATHY_THEME_MANAGER_H__ */