Update Greek translation
[empathy-mirror.git] / libempathy-gtk / empathy-theme-manager.h
blob590c343f3c445e23170b3ca20d5f6ebed2c1863d
1 /*
2 * Copyright (C) 2005-2007 Imendio AB
3 * Copyright (C) 2008-2012 Collabora Ltd.
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of the
8 * License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18 * Boston, MA 02110-1301 USA
20 * Authors: Xavier Claessens <xclaesse@gmail.com>
23 #ifndef __EMPATHY_THEME_MANAGER_H__
24 #define __EMPATHY_THEME_MANAGER_H__
26 #include "empathy-theme-adium.h"
28 G_BEGIN_DECLS
30 /* TYPE MACROS */
31 #define EMPATHY_TYPE_THEME_MANAGER \
32 (empathy_theme_manager_get_type ())
33 #define EMPATHY_THEME_MANAGER(obj) \
34 (G_TYPE_CHECK_INSTANCE_CAST((obj), \
35 EMPATHY_TYPE_THEME_MANAGER, \
36 EmpathyThemeManager))
37 #define EMPATHY_THEME_MANAGER_CLASS(klass) \
38 (G_TYPE_CHECK_CLASS_CAST((klass), \
39 EMPATHY_TYPE_THEME_MANAGER, \
40 EmpathyThemeManagerClass))
41 #define EMPATHY_IS_THEME_MANAGER(obj) \
42 (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
43 EMPATHY_TYPE_THEME_MANAGER))
44 #define EMPATHY_IS_THEME_MANAGER_CLASS(klass) \
45 (G_TYPE_CHECK_CLASS_TYPE((klass), \
46 EMPATHY_TYPE_THEME_MANAGER))
47 #define EMPATHY_THEME_MANAGER_GET_CLASS(obj) \
48 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
49 EMPATHY_TYPE_THEME_MANAGER, \
50 EmpathyThemeManagerClass))
53 typedef struct _EmpathyThemeManager EmpathyThemeManager;
54 typedef struct _EmpathyThemeManagerClass EmpathyThemeManagerClass;
55 typedef struct _EmpathyThemeManagerPriv EmpathyThemeManagerPriv;
57 struct _EmpathyThemeManager
59 GObject parent;
60 EmpathyThemeManagerPriv *priv;
63 struct _EmpathyThemeManagerClass
65 GObjectClass parent_class;
68 GType empathy_theme_manager_get_type (void) G_GNUC_CONST;
69 EmpathyThemeManager * empathy_theme_manager_dup_singleton (void);
70 GList * empathy_theme_manager_get_adium_themes (void);
71 EmpathyThemeAdium * empathy_theme_manager_create_view (EmpathyThemeManager *self);
72 gchar * empathy_theme_manager_find_theme (const gchar *name);
74 gchar * empathy_theme_manager_dup_theme_name_from_path (const gchar *path);
76 G_END_DECLS
78 #endif /* __EMPATHY_THEME_MANAGER_H__ */