summaryrefslogtreecommitdiff
path: root/src/us/minak/IMEView.java
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-05-05 16:06:02 -0400
committerAndrewMurrell <amurrel@purdue.edu>2014-05-05 16:06:02 -0400
commit181991a85c528d4c5cec66303f677285d38d2b97 (patch)
treeeea9d8ed946fb0d49e2bee84853932217856d459 /src/us/minak/IMEView.java
parenta7b6d856a146d2d576885001cc2154304a156efe (diff)
Perhaps our problem is that the Symbol Activity didn't do what we thought it did or had some other side effects. I added a file to experiment with that and added minor changes elsewhere.
Diffstat (limited to 'src/us/minak/IMEView.java')
-rw-r--r--src/us/minak/IMEView.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/us/minak/IMEView.java b/src/us/minak/IMEView.java
index d341ae5..aefded8 100644
--- a/src/us/minak/IMEView.java
+++ b/src/us/minak/IMEView.java
@@ -1,12 +1,17 @@
package us.minak;
+import java.util.LinkedList;
+import java.util.Queue;
+
import android.content.Context;
import android.util.AttributeSet;
import android.widget.RelativeLayout;
public class IMEView extends RelativeLayout{
private final Context mContext;
+ private final Queue<Character> mSymbolsQueue = new LinkedList<Character>();
private OnCharacterEnteredListener mOnCharacterEnteredListener;
+
public IMEView(Context context, AttributeSet attrs) {
super(context, attrs);
mContext = context;
@@ -31,4 +36,9 @@ public class IMEView extends RelativeLayout{
private void enterCharacter(String character) {
mOnCharacterEnteredListener.characterEntered(character);
}
+
+ public Queue<Character> getSymbolsQueue() {
+ return mSymbolsQueue;
+ }
+
}