• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kspell2
 

kspell2

  • kspell2
  • plugins
  • ispell
sp_spell.h
1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /* enchant
3  * Copyright (C) 2003 Dom Lachowicz
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * In addition, as a special exception, Dom Lachowicz
16  * gives permission to link the code of this program with
17  * non-LGPL Spelling Provider libraries (eg: a MSFT Office
18  * spell checker backend) and distribute linked combinations including
19  * the two. You must obey the GNU Lesser General Public License in all
20  * respects for all of the code used other than said providers. If you modify
21  * this file, you may extend this exception to your version of the
22  * file, but you are not obligated to do so. If you do not wish to
23  * do so, delete this exception statement from your version.*
24  * You should have received a copy of the GNU Lesser General Public
25  * License along with this library; if not, write to the
26  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
27  * Boston, MA 02110-1301, USA.
28  */
29 
30 #ifndef SPELL_H
31 #define SPELL_H
32 
33 /*
34  TODO stuff we need to do for this spell module:
35 
36  eliminate all the stderr fprintfs
37  rip out the support for ICHAR_IS_CHAR
38 */
39 
40 #ifdef __cplusplus
41 extern "C"
42 {
43 #endif
44 
45 typedef struct _sp_suggestions {
46  int count;
47  short *score;
48  unsigned short **word;
49 } sp_suggestions;
50 
51 int SpellCheckInit(char *hashname);
52 void SpellCheckCleanup(void);
53 int SpellCheckNWord16(const unsigned short *word16, int length);
54 int SpellCheckSuggestNWord16(const unsigned short *word16, int length, sp_suggestions *sg);
55 
56 #ifdef __cplusplus
57 }
58 #endif
59 
60 #endif /* SPELL_H */

kspell2

Skip menu "kspell2"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kspell2

Skip menu "kspell2"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kspell2 by doxygen 1.8.3.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |