Improve some sieve-related translations
[claws.git] / src / gtk / spell_entry.h
blobaaa49da286f984acea09cdf53fcba2de8a060f83
1 /*
2 * @file libsexy/sexy-icon-entry.h Entry widget
4 * @Copyright (C) 2004-2006 Christian Hammond.
5 * Some of this code is from gtkspell, Copyright (C) 2002 Evan Martin.
6 * Adapted for Claws Mail (c) 2009-2012 Pawel Pekala and the Claws Mail team
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 3 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
23 #ifndef __SPELL_ENTRY_H__
24 #define __SPELL_ENTRY_H__
26 #ifdef HAVE_CONFIG_H
27 #include "claws-features.h"
28 #endif
30 #ifdef USE_ENCHANT
32 G_BEGIN_DECLS
34 typedef struct _ClawsSpellEntry ClawsSpellEntry;
35 typedef struct _ClawsSpellEntryClass ClawsSpellEntryClass;
36 typedef struct _ClawsSpellEntryPriv ClawsSpellEntryPriv;
38 #include <gtk/gtk.h>
39 #include "gtkaspell.h"
41 #define CLAWS_TYPE_SPELL_ENTRY (claws_spell_entry_get_type())
42 #define CLAWS_SPELL_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), CLAWS_TYPE_SPELL_ENTRY, ClawsSpellEntry))
43 #define CLAWS_SPELL_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), CLAWS_TYPE_SPELL_ENTRY, ClawsSpellEntryClass))
44 #define CLAWS_IS_SPELL_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), CLAWS_TYPE_SPELL_ENTRY))
46 struct _ClawsSpellEntry
48 GtkEntry parent_object;
50 ClawsSpellEntryPriv *priv;
51 GtkAspell *gtkaspell;
53 void (*gtk_reserved1)(void);
54 void (*gtk_reserved2)(void);
55 void (*gtk_reserved3)(void);
56 void (*gtk_reserved4)(void);
59 struct _ClawsSpellEntryClass
61 GtkEntryClass parent_class;
63 void (*gtk_reserved1)(void);
64 void (*gtk_reserved2)(void);
65 void (*gtk_reserved3)(void);
66 void (*gtk_reserved4)(void);
69 GType claws_spell_entry_get_type (void);
70 GtkWidget * claws_spell_entry_new (void);
71 void claws_spell_entry_set_gtkaspell (ClawsSpellEntry *entry,
72 GtkAspell *gtkaspell);
73 void claws_spell_entry_recheck_all (ClawsSpellEntry *entry);
74 void claws_spell_entry_check_all (ClawsSpellEntry *entry);
75 void claws_spell_entry_context_set (ClawsSpellEntry *entry);
76 void claws_spell_entry_check_backwards (ClawsSpellEntry *entry);
77 void claws_spell_entry_check_forwards_go (ClawsSpellEntry *entry);
80 G_END_DECLS
82 #endif /* USE_ENCHANT */
83 #endif /* __SPELL_ENTRY_H__ */