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

« back to all changes in this revision

Viewing changes to src/frontend/im/swinputmeth.cpp

  • 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
#include <swinputmeth.h>
 
11
 
 
12
SWInputMethod::SWInputMethod() {
 
13
   state = 0;
 
14
}
 
15
 
 
16
void SWInputMethod::setState(int state) {
 
17
   this->state = state;
 
18
}
 
19
 
 
20
int SWInputMethod::getState() {
 
21
   return state;
 
22
}
 
23
 
 
24
void SWInputMethod::clearState() {
 
25
   state = 0;
 
26
}