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

kspell2

sp_spell.h
00001 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
00002 /* enchant
00003  * Copyright (C) 2003 Dom Lachowicz
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Lesser General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2.1 of the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Lesser General Public License for more details.
00014  *
00015  * In addition, as a special exception, Dom Lachowicz
00016  * gives permission to link the code of this program with
00017  * non-LGPL Spelling Provider libraries (eg: a MSFT Office
00018  * spell checker backend) and distribute linked combinations including
00019  * the two.  You must obey the GNU Lesser General Public License in all
00020  * respects for all of the code used other than said providers.  If you modify
00021  * this file, you may extend this exception to your version of the
00022  * file, but you are not obligated to do so.  If you do not wish to
00023  * do so, delete this exception statement from your version.*
00024  * You should have received a copy of the GNU Lesser General Public
00025  * License along with this library; if not, write to the
00026  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00027  * Boston, MA 02110-1301, USA.
00028  */
00029 
00030 #ifndef SPELL_H
00031 #define SPELL_H
00032 
00033 /*
00034   TODO stuff we need to do for this spell module:
00035 
00036   eliminate all the stderr fprintfs
00037   rip out the support for ICHAR_IS_CHAR
00038 */
00039 
00040 #ifdef __cplusplus
00041 extern "C"
00042 {
00043 #endif
00044 
00045 typedef struct _sp_suggestions {
00046     int count;
00047     short *score;
00048     unsigned short **word;
00049 } sp_suggestions;
00050    
00051 int SpellCheckInit(char *hashname);
00052 void SpellCheckCleanup(void);
00053 int SpellCheckNWord16(const unsigned short *word16, int length);
00054 int SpellCheckSuggestNWord16(const unsigned short *word16, int length, sp_suggestions *sg);
00055 
00056 #ifdef __cplusplus
00057 }
00058 #endif
00059     
00060 #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.7.6.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |