summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src/hunspell/baseaffix.hxx
blob: f417acaa440b267c2b518aed6ed4af3fab5ef083 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef _BASEAFF_HXX_
#define _BASEAFF_HXX_

#include "hunvisapi.h"

class LIBHUNSPELL_DLL_EXPORTED AffEntry
{
private:
    AffEntry(const AffEntry&);
    AffEntry& operator = (const AffEntry&);
protected:
    AffEntry() {}
    char *         appnd;
    char *         strip;
    unsigned char  appndl;
    unsigned char  stripl;
    char           numconds;
    char           opts;
    unsigned short aflag;
    union {
        char       conds[MAXCONDLEN];
        struct {
            char   conds1[MAXCONDLEN_1];
            char * conds2;
        } l;
    } c;
    char *           morphcode;
    unsigned short * contclass;
    short            contclasslen;
};

#endif