aboutsummaryrefslogblamecommitdiffstats
path: root/include/swinputmeth.h
blob: 05eed88283f2879e781198aa3011f47c91a5392f (plain) (tree)





























                                                                                          
/**
 * 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

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();
};

#endif