goldendict-ng/maclibs/include/hunspell/replist.hxx
Denis Loginov ee966c4d2d Added precompiled third-party libraries
and their header files necessary to build
GoldenDict on 64-bit Intel Macs.
Included program icon into application package.
Minor code clarification in keyboardstate.cc
2011-08-07 04:13:20 -04:00

28 lines
492 B
C++

/* string replacement list class */
#ifndef _REPLIST_HXX_
#define _REPLIST_HXX_
#include "hunvisapi.h"
#include "w_char.hxx"
class LIBHUNSPELL_DLL_EXPORTED RepList
{
protected:
replentry ** dat;
int size;
int pos;
public:
RepList(int n);
~RepList();
int get_pos();
int add(char * pat1, char * pat2);
replentry * item(int n);
int near(const char * word);
int match(const char * word, int n);
int conv(const char * word, char * dest);
};
#endif