aboutsummaryrefslogblamecommitdiffstats
path: root/include/swinputmeth.h
blob: 97a67f6fe364d47fda265756090c42f097239b24 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                                          


                     
















                                        
                   
      
/**
 * Title:
 * Description:
 * Copyright:    Copyright (c) 2001 CrossWire Bible Society under the terms of the GNU GPL
 * Company:
 * @author Troy A. Griffitts
 * @version 1.0
 */

#ifndef SWINPUTMETHOD_H
#define SWINPUTMETHOD_H

#include <defs.h>
SWORD_NAMESPACE_START

class SWInputMethod {

private:
    int state;

protected:
    virtual void setState(int state);

public:
    SWInputMethod();
    virtual ~SWInputMethod() {}

    virtual int *translate(char in) = 0;
    virtual int getState();
    virtual void clearState();
};

SWORD_NAMESPACE_END
#endif