The SWORD Project
1.9.0.svnversion
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
swinputmeth.cpp
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* swinputmeth.cpp - SWInputMethod: Input method base class
4
*
5
* $Id: swinputmeth.cpp 2833 2013-06-29 06:40:28Z chrislit $
6
*
7
* Copyright 2001-2013 CrossWire Bible Society (http://www.crosswire.org)
8
* CrossWire Bible Society
9
* P. O. Box 2528
10
* Tempe, AZ 85280-2528
11
*
12
* This program is free software; you can redistribute it and/or modify it
13
* under the terms of the GNU General Public License as published by the
14
* Free Software Foundation version 2.
15
*
16
* This program is distributed in the hope that it will be useful, but
17
* WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19
* General Public License for more details.
20
*
21
*/
22
23
#include <
swinputmeth.h
>
24
25
SWInputMethod::SWInputMethod
() {
26
state
= 0;
27
}
28
29
void
SWInputMethod::setState
(
int
state) {
30
this->state =
state
;
31
}
32
33
int
SWInputMethod::getState
() {
34
return
state
;
35
}
36
37
void
SWInputMethod::clearState
() {
38
state
= 0;
39
}
swinputmeth.h
SWInputMethod::getState
virtual int getState()
Definition:
swinputmeth.cpp:33
SWInputMethod::state
int state
Definition:
swinputmeth.h:33
SWInputMethod::setState
virtual void setState(int state)
Definition:
swinputmeth.cpp:29
SWInputMethod::SWInputMethod
SWInputMethod()
Definition:
swinputmeth.cpp:25
SWInputMethod::clearState
virtual void clearState()
Definition:
swinputmeth.cpp:37
src
frontend
im
swinputmeth.cpp
Generated by
1.8.5