view src/win32/wspell.h @ 5450:bb1e160467b6

[gaim-migrate @ 5838] Thanks to J P (j_pong) for tracking this down, this fixes base16, and might fix the corrupt buddy lists for the win32 folk also there's a cleanup for a compile warning committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 20 May 2003 00:45:35 +0000
parents 0fe2ffdb7906
children 9657e243d001
line wrap: on
line source

/*
 *  wspell.h
 *
 *  Author: Herman Bloggs <hermanator12002@yahoo.com>
 *  Date: March, 2003
 *  Description: Windows Gaim gtkspell interface.
 */
#ifndef _WSPELL_H_
#define _WSPELL_H_
#include <gtkspell/gtkspell.h>

extern void wgaim_gtkspell_init();

extern GtkSpell* (*wgaim_gtkspell_new_attach)(GtkTextView*, const gchar*, GError**);
#define gtkspell_new_attach( view, lang, error ) \
wgaim_gtkspell_new_attach( ## view ##, ## lang ##, ## error ## )

extern GtkSpell* (*wgaim_gtkspell_get_from_text_view)(GtkTextView*);
#define gtkspell_get_from_text_view( view ) \
wgaim_gtkspell_get_from_text_view( ## view ## )

extern void (*wgaim_gtkspell_detach)(GtkSpell*);
#define gtkspell_detach( spell ) \
wgaim_gtkspell_detach( ## spell ## )

extern gboolean (*wgaim_gtkspell_set_language)(GtkSpell*,	const gchar*, GError**);
#define gtkspell_set_language( spell, lang, error ) \
wgaim_gtkspell_set_language( ## spell ##, ## lang ##, ## error ## )

extern void (*wgaim_gtkspell_recheck_all)(GtkSpell*);
#define gtkspell_recheck_all( spell ) \
wgaim_gtkspell_recheck_all( ## spell ## )

#endif /* _WSPELL_H_ */