view src/win32/wspell.h @ 5162:b8eafeb874a1

[gaim-migrate @ 5526] After my last commit, Nathan promptly asked me if I remembered to move the declarations for gaim_new_item and gaim_new_item_stock from one .h file to the next, and I promptly cracked on his mom. Robot101, or anyone else cool, if you want to fix the comments in gtkutils.h for these 2 functions, that'd be terrif. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 18 Apr 2003 03:40:54 +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_ */