Wed, 12 Nov 2008 05:14:03 +0000
merge of '77693555855fe9cd3215414f79964dba346cc5fa'
and '19a87e98e5857ad0289f2c760d460f7f1dbbb42d'
| 4862 | 1 | /* |
|
5913
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4862
diff
changeset
|
2 | * gaim |
|
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 | 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 |
|
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4862
diff
changeset
|
20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
4d016c00bb36
[gaim-migrate @ 6345]
Herman Bloggs <herman@bluedigits.com>
parents:
4862
diff
changeset
|
21 | * |
| 4862 | 22 | */ |
| 23 | #ifndef _WSPELL_H_ | |
| 24 | #define _WSPELL_H_ | |
| 25 | #include <gtkspell/gtkspell.h> | |
| 26 | ||
|
12497
a17568773be3
[gaim-migrate @ 14809]
Richard Laager <rlaager@pidgin.im>
parents:
12323
diff
changeset
|
27 | void wgaim_gtkspell_init(void); |
| 4862 | 28 | |
| 29 | extern GtkSpell* (*wgaim_gtkspell_new_attach)(GtkTextView*, const gchar*, GError**); | |
| 30 | #define gtkspell_new_attach( view, lang, error ) \ | |
|
7242
d91a60e1095c
[gaim-migrate @ 7817]
Herman Bloggs <herman@bluedigits.com>
parents:
5913
diff
changeset
|
31 | wgaim_gtkspell_new_attach( view, lang, error ) |
| 4862 | 32 | |
| 33 | extern GtkSpell* (*wgaim_gtkspell_get_from_text_view)(GtkTextView*); | |
| 34 | #define gtkspell_get_from_text_view( view ) \ | |
|
7242
d91a60e1095c
[gaim-migrate @ 7817]
Herman Bloggs <herman@bluedigits.com>
parents:
5913
diff
changeset
|
35 | wgaim_gtkspell_get_from_text_view( view ) |
| 4862 | 36 | |
| 37 | extern void (*wgaim_gtkspell_detach)(GtkSpell*); | |
| 38 | #define gtkspell_detach( spell ) \ | |
|
7242
d91a60e1095c
[gaim-migrate @ 7817]
Herman Bloggs <herman@bluedigits.com>
parents:
5913
diff
changeset
|
39 | wgaim_gtkspell_detach( spell ) |
| 4862 | 40 | |
| 41 | extern gboolean (*wgaim_gtkspell_set_language)(GtkSpell*, const gchar*, GError**); | |
| 42 | #define gtkspell_set_language( spell, lang, error ) \ | |
|
7242
d91a60e1095c
[gaim-migrate @ 7817]
Herman Bloggs <herman@bluedigits.com>
parents:
5913
diff
changeset
|
43 | wgaim_gtkspell_set_language( spell, lang, error ) |
| 4862 | 44 | |
| 45 | extern void (*wgaim_gtkspell_recheck_all)(GtkSpell*); | |
| 46 | #define gtkspell_recheck_all( spell ) \ | |
|
7242
d91a60e1095c
[gaim-migrate @ 7817]
Herman Bloggs <herman@bluedigits.com>
parents:
5913
diff
changeset
|
47 | wgaim_gtkspell_recheck_all( spell ) |
| 4862 | 48 | |
| 49 | #endif /* _WSPELL_H_ */ |