pidgin/gtkthemes.h

Tue, 04 Feb 2014 14:07:01 +0530

author
Ankit Vani <a@nevitus.org>
date
Tue, 04 Feb 2014 14:07:01 +0530
branch
gtkdoc-conversion
changeset 35451
206524351826
parent 32790
b95c7c504118
child 35470
8ee08a41f2f3
permissions
-rw-r--r--

Add sections for finch and re-arrange its doc index

20147
66f05a854eee applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents: 19859
diff changeset
1 /* pidgin
11529
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
2 *
15572
e069b22c1fc4 headers to pidgin
Sean Egan <seanegan@pidgin.im>
parents: 15562
diff changeset
3 * Pidgin is the legal property of its developers, whose names are too numerous
11529
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
4 * to list here. Please refer to the COPYRIGHT file distributed with this
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
5 * source distribution.
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
6 *
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
7 * This program is free software; you can redistribute it and/or modify
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
8 * it under the terms of the GNU General Public License as published by
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
9 * the Free Software Foundation; either version 2 of the License, or
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
10 * (at your option) any later version.
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
11 *
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
12 * This program is distributed in the hope that it will be useful,
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
15 * GNU General Public License for more details.
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
16 *
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
17 * You should have received a copy of the GNU General Public License
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
18 * along with this program; if not, write to the Free Software
19859
71d37b57eff2 The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 17481
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
11529
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
20 */
35451
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 32790
diff changeset
21 /**
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 32790
diff changeset
22 * SECTION:gtkthemes
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 32790
diff changeset
23 * @section_id: pidgin-gtkthemes
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 32790
diff changeset
24 * @short_description: <filename>gtkthemes.h</filename>
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 32790
diff changeset
25 * @title: Smiley Theme API
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 32790
diff changeset
26 */
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 32790
diff changeset
27
15562
8c8249fe5e3c gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
28 #ifndef _PIDGINTHEMES_H_
8c8249fe5e3c gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
29 #define _PIDGINTHEMES_H_
11529
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
30
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
31 struct smiley_list {
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
32 char *sml;
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
33 GSList *smileys;
32439
2c681e5daeeb Webkit Message views.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents: 23311
diff changeset
34 GHashTable *files; /**< map from smiley shortcut to filename */
11529
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
35 struct smiley_list *next;
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
36 };
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
37
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
38 struct smiley_theme {
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
39 char *path;
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
40 char *name;
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
41 char *desc;
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
42 char *icon;
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
43 char *author;
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
44
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
45 struct smiley_list *list;
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
46 };
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
47
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
48 extern struct smiley_theme *current_smiley_theme;
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
49 extern GSList *smiley_themes;
07ab03e195e1 [gaim-migrate @ 13778]
Tim Ringenbach <marv@pidgin.im>
parents:
diff changeset
50
32790
b95c7c504118 Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32604
diff changeset
51 G_BEGIN_DECLS
b95c7c504118 Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32604
diff changeset
52
16263
27e0ef0f38e6 Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@pidgin.im>
parents: 16254
diff changeset
53 void pidgin_themes_init(void);
23063
9458eafda32c Assorted cleanups, mostly to the Doxygen comments. I added a few missing
Richard Laager <rlaager@pidgin.im>
parents: 20147
diff changeset
54
16263
27e0ef0f38e6 Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@pidgin.im>
parents: 16254
diff changeset
55 gboolean pidgin_themes_smileys_disabled(void);
23063
9458eafda32c Assorted cleanups, mostly to the Doxygen comments. I added a few missing
Richard Laager <rlaager@pidgin.im>
parents: 20147
diff changeset
56
16263
27e0ef0f38e6 Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@pidgin.im>
parents: 16254
diff changeset
57 void pidgin_themes_smiley_themeize(GtkWidget *);
23063
9458eafda32c Assorted cleanups, mostly to the Doxygen comments. I added a few missing
Richard Laager <rlaager@pidgin.im>
parents: 20147
diff changeset
58
22443
7b8772af6bb7 Apply the custom smiley patches from #1187, from Jorge VillaseƱo (Masca) and
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 20147
diff changeset
59 void pidgin_themes_smiley_themeize_custom(GtkWidget *);
23289
91b0e34f4a88 propagate from branch 'im.pidgin.pidgin.custom_smiley' (head 9ff3135a6478cd03be8a6e501d9297cf3830a866)
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents: 23063 22443
diff changeset
60
16263
27e0ef0f38e6 Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@pidgin.im>
parents: 16254
diff changeset
61 void pidgin_themes_smiley_theme_probe(void);
23063
9458eafda32c Assorted cleanups, mostly to the Doxygen comments. I added a few missing
Richard Laager <rlaager@pidgin.im>
parents: 20147
diff changeset
62
16263
27e0ef0f38e6 Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@pidgin.im>
parents: 16254
diff changeset
63 void pidgin_themes_load_smiley_theme(const char *file, gboolean load);
23063
9458eafda32c Assorted cleanups, mostly to the Doxygen comments. I added a few missing
Richard Laager <rlaager@pidgin.im>
parents: 20147
diff changeset
64
17481
0187dfe85231 Need help reflecting selected smiley theme after remove
Gabriel Schulhof <nix@go-nix.ca>
parents: 16263
diff changeset
65 void pidgin_themes_remove_smiley_theme(const char *file);
23063
9458eafda32c Assorted cleanups, mostly to the Doxygen comments. I added a few missing
Richard Laager <rlaager@pidgin.im>
parents: 20147
diff changeset
66
16263
27e0ef0f38e6 Word on the street is that we don't want things named pidginfoo_bar(), but
Richard Laager <rlaager@pidgin.im>
parents: 16254
diff changeset
67 GSList *pidgin_themes_get_proto_smileys(const char *id);
23063
9458eafda32c Assorted cleanups, mostly to the Doxygen comments. I added a few missing
Richard Laager <rlaager@pidgin.im>
parents: 20147
diff changeset
68
32790
b95c7c504118 Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32604
diff changeset
69 G_END_DECLS
b95c7c504118 Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32604
diff changeset
70
23063
9458eafda32c Assorted cleanups, mostly to the Doxygen comments. I added a few missing
Richard Laager <rlaager@pidgin.im>
parents: 20147
diff changeset
71 #endif /* _PIDGINTHEMES_H_ */

mercurial