aboutsummaryrefslogtreecommitdiffstats
path: root/doc/api-documentation/html/swinputmeth_8h-source.html
blob: 0013302ff6cca4828920f1e88f2d58577048ac0f (plain) (blame)
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
33
34
35
36
37
38
39
40
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>swinputmeth.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.2.17 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
<hr><h1>swinputmeth.h</h1><div class="fragment"><pre>00001 
00010 <span class="preprocessor">#ifndef SWINPUTMETHOD_H</span>
00011 <span class="preprocessor"></span><span class="preprocessor">#define SWINPUTMETHOD_H</span>
00012 <span class="preprocessor"></span>
00013 <span class="preprocessor">#include &lt;defs.h&gt;</span>
00014 SWORD_NAMESPACE_START
00015 
00016 <span class="keyword">class </span>SWInputMethod {
00017 
00018 <span class="keyword">private</span>:
00019     <span class="keywordtype">int</span> state;
00020 
00021 <span class="keyword">protected</span>:
00022     <span class="keyword">virtual</span> <span class="keywordtype">void</span> setState(<span class="keywordtype">int</span> state);
00023 
00024 <span class="keyword">public</span>:
00025     SWInputMethod();
00026     <span class="keyword">virtual</span> ~SWInputMethod() {}
00027 
00028     <span class="keyword">virtual</span> <span class="keywordtype">int</span> *translate(<span class="keywordtype">char</span> in) = 0;
00029     <span class="keyword">virtual</span> <span class="keywordtype">int</span> getState();
00030     <span class="keyword">virtual</span> <span class="keywordtype">void</span> clearState();
00031 };
00032 
00033 SWORD_NAMESPACE_END
00034 <span class="preprocessor">#endif</span>
</pre></div><hr><address style="align: right;"><small>Generated on Thu Oct 31 12:11:28 2002 for The Sword Project by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 
width=110 height=53></a>1.2.17 </small></address>
</body>
</html>