pidgin/win32/wspell.h

Thu, 04 Feb 2010 05:30:35 +0000

author
Paul Aurich <darkrain42@pidgin.im>
date
Thu, 04 Feb 2010 05:30:35 +0000
branch
next.minor
changeset 29686
f9dee36112d0
parent 22686
d41016d7812d
permissions
-rw-r--r--

propagate from branch 'im.pidgin.pidgin' (head 3180b88b4c1b8e73c22589457b99d2c1b6096bf4)
to branch 'im.pidgin.pidgin.next.minor' (head 1507ce18860b4a4481751cda84af9a334bfff934)

4862
002bcddc564f [gaim-migrate @ 5189]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
1 /*
15931
716b5fac1895 Re-sed the copyright notices so they don't all talk about Purple.
Richard Laager <rlaager@pidgin.im>
parents: 15884
diff changeset
2 * pidgin
5913
4d016c00bb36 [gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents: 4862
diff changeset
3 *
4d016c00bb36 [gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents: 4862
diff changeset
4 * File: wspell.h
4d016c00bb36 [gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents: 4862
diff changeset
5 *
4d016c00bb36 [gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents: 4862
diff changeset
6 * Copyright (C) 2002-2003, Herman Bloggs <hermanator12002@yahoo.com>
4862
002bcddc564f [gaim-migrate @ 5189]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
7 *
5913
4d016c00bb36 [gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents: 4862
diff changeset
8 * This program is free software; you can redistribute it and/or modify
4d016c00bb36 [gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents: 4862
diff changeset
9 * it under the terms of the GNU General Public License as published by
4d016c00bb36 [gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents: 4862
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or
4d016c00bb36 [gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents: 4862
diff changeset
11 * (at your option) any later version.
4d016c00bb36 [gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents: 4862
diff changeset
12 *
4d016c00bb36 [gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents: 4862
diff changeset
13 * This program is distributed in the hope that it will be useful,
4d016c00bb36 [gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents: 4862
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
4d016c00bb36 [gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents: 4862
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4d016c00bb36 [gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents: 4862
diff changeset
16 * GNU General Public License for more details.
4d016c00bb36 [gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents: 4862
diff changeset
17 *
4d016c00bb36 [gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents: 4862
diff changeset
18 * You should have received a copy of the GNU General Public License
4d016c00bb36 [gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents: 4862
diff changeset
19 * 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: 15931
diff changeset
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
5913
4d016c00bb36 [gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents: 4862
diff changeset
21 *
4862
002bcddc564f [gaim-migrate @ 5189]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
22 */
002bcddc564f [gaim-migrate @ 5189]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
23 #ifndef _WSPELL_H_
002bcddc564f [gaim-migrate @ 5189]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
24 #define _WSPELL_H_
002bcddc564f [gaim-migrate @ 5189]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
25 #include <gtkspell/gtkspell.h>
002bcddc564f [gaim-migrate @ 5189]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
26
22686
d41016d7812d Add extern "C" wrappers to win32 headers. There is also a change here that I thought I committed earlier that should provide better error messages for winsock errors.
Daniel Atallah <datallah@pidgin.im>
parents: 19859
diff changeset
27 #ifdef __cplusplus
d41016d7812d Add extern "C" wrappers to win32 headers. There is also a change here that I thought I committed earlier that should provide better error messages for winsock errors.
Daniel Atallah <datallah@pidgin.im>
parents: 19859
diff changeset
28 extern "C" {
d41016d7812d Add extern "C" wrappers to win32 headers. There is also a change here that I thought I committed earlier that should provide better error messages for winsock errors.
Daniel Atallah <datallah@pidgin.im>
parents: 19859
diff changeset
29 #endif /* __cplusplus */
d41016d7812d Add extern "C" wrappers to win32 headers. There is also a change here that I thought I committed earlier that should provide better error messages for winsock errors.
Daniel Atallah <datallah@pidgin.im>
parents: 19859
diff changeset
30
15697
78ddac185d80 winpidgin warning fixes
Daniel Atallah <datallah@pidgin.im>
parents: 15562
diff changeset
31 void winpidgin_spell_init(void);
4862
002bcddc564f [gaim-migrate @ 5189]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
32
15562
8c8249fe5e3c gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
33 extern GtkSpell* (*wpidginspell_new_attach)(GtkTextView*, const gchar*, GError**);
4862
002bcddc564f [gaim-migrate @ 5189]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
34 #define gtkspell_new_attach( view, lang, error ) \
15562
8c8249fe5e3c gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
35 wpidginspell_new_attach( view, lang, error )
4862
002bcddc564f [gaim-migrate @ 5189]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
36
15562
8c8249fe5e3c gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
37 extern GtkSpell* (*wpidginspell_get_from_text_view)(GtkTextView*);
4862
002bcddc564f [gaim-migrate @ 5189]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
38 #define gtkspell_get_from_text_view( view ) \
15562
8c8249fe5e3c gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
39 wpidginspell_get_from_text_view( view )
4862
002bcddc564f [gaim-migrate @ 5189]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
40
15562
8c8249fe5e3c gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
41 extern void (*wpidginspell_detach)(GtkSpell*);
4862
002bcddc564f [gaim-migrate @ 5189]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
42 #define gtkspell_detach( spell ) \
15562
8c8249fe5e3c gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
43 wpidginspell_detach( spell )
4862
002bcddc564f [gaim-migrate @ 5189]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
44
15697
78ddac185d80 winpidgin warning fixes
Daniel Atallah <datallah@pidgin.im>
parents: 15562
diff changeset
45 extern gboolean (*wpidginspell_set_language)(GtkSpell*, const gchar*, GError**);
4862
002bcddc564f [gaim-migrate @ 5189]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
46 #define gtkspell_set_language( spell, lang, error ) \
15562
8c8249fe5e3c gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
47 wpidginspell_set_language( spell, lang, error )
4862
002bcddc564f [gaim-migrate @ 5189]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
48
15562
8c8249fe5e3c gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
49 extern void (*wpidginspell_recheck_all)(GtkSpell*);
4862
002bcddc564f [gaim-migrate @ 5189]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
50 #define gtkspell_recheck_all( spell ) \
15562
8c8249fe5e3c gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
51 wpidginspell_recheck_all( spell )
4862
002bcddc564f [gaim-migrate @ 5189]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
52
22686
d41016d7812d Add extern "C" wrappers to win32 headers. There is also a change here that I thought I committed earlier that should provide better error messages for winsock errors.
Daniel Atallah <datallah@pidgin.im>
parents: 19859
diff changeset
53 #ifdef __cplusplus
d41016d7812d Add extern "C" wrappers to win32 headers. There is also a change here that I thought I committed earlier that should provide better error messages for winsock errors.
Daniel Atallah <datallah@pidgin.im>
parents: 19859
diff changeset
54 }
d41016d7812d Add extern "C" wrappers to win32 headers. There is also a change here that I thought I committed earlier that should provide better error messages for winsock errors.
Daniel Atallah <datallah@pidgin.im>
parents: 19859
diff changeset
55 #endif /* __cplusplus */
d41016d7812d Add extern "C" wrappers to win32 headers. There is also a change here that I thought I committed earlier that should provide better error messages for winsock errors.
Daniel Atallah <datallah@pidgin.im>
parents: 19859
diff changeset
56
4862
002bcddc564f [gaim-migrate @ 5189]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
57 #endif /* _WSPELL_H_ */

mercurial