~ubuntu-branches/debian/squeeze/sword/squeeze

« back to all changes in this revision

Viewing changes to include/swinputmeth.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Glassey
  • Date: 2004-01-15 15:50:07 UTC
  • Revision ID: james.westby@ubuntu.com-20040115155007-n9mz4x0zxrs1isd3
Tags: upstream-1.5.7
ImportĀ upstreamĀ versionĀ 1.5.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * Title:
 
3
 * Description:
 
4
 * Copyright:    Copyright (c) 2001 CrossWire Bible Society under the terms of the GNU GPL
 
5
 * Company:
 
6
 * @author Troy A. Griffitts
 
7
 * @version 1.0
 
8
 */
 
9
 
 
10
#ifndef SWINPUTMETHOD_H
 
11
#define SWINPUTMETHOD_H
 
12
 
 
13
#include <defs.h>
 
14
SWORD_NAMESPACE_START
 
15
 
 
16
class SWInputMethod {
 
17
 
 
18
private:
 
19
    int state;
 
20
 
 
21
protected:
 
22
    virtual void setState(int state);
 
23
 
 
24
public:
 
25
    SWInputMethod();
 
26
    virtual ~SWInputMethod() {}
 
27
 
 
28
    virtual int *translate(char in) = 0;
 
29
    virtual int getState();
 
30
    virtual void clearState();
 
31
};
 
32
 
 
33
SWORD_NAMESPACE_END
 
34
#endif