~ubuntu-branches/debian/stretch/mudlet/stretch

« back to all changes in this revision

Viewing changes to src/hunspell/replist.hxx

  • Committer: Bazaar Package Importer
  • Author(s): Craig Small
  • Date: 2011-05-14 20:12:49 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110514201249-184gqx5jjqam02lg
Tags: 2.0-rc5-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* string replacement list class */
2
 
#ifndef _REPLIST_HXX_
3
 
#define _REPLIST_HXX_
4
 
 
5
 
#include "hunvisapi.h"
6
 
 
7
 
#include "w_char.hxx"
8
 
 
9
 
class LIBHUNSPELL_DLL_EXPORTED RepList
10
 
{
11
 
protected:
12
 
    replentry ** dat;
13
 
    int size;
14
 
    int pos;
15
 
 
16
 
public:
17
 
    RepList(int n);
18
 
    ~RepList();
19
 
 
20
 
    int get_pos();
21
 
    int add(char * pat1, char * pat2);
22
 
    replentry * item(int n);
23
 
    int near(const char * word);
24
 
    int match(const char * word, int n);
25
 
    int conv(const char * word, char * dest);
26
 
};
27
 
#endif