OSDN Git Service

Add TermSession class to represent a terminal session
authorSteven Luo <steven+android@steven676.net>
Sat, 27 Aug 2011 19:29:49 +0000 (12:29 -0700)
committerJack Palevich <jack.palevich@gmail.com>
Sat, 27 Aug 2011 19:29:49 +0000 (12:29 -0700)
commitbf017dbf1335689c53a9e65d6001806ec2a8819b
treec7712fb65efd3d2dbb59a9c93c15b95a0040ddde
parentbe18807725cddc0f6337a7771b01501a0881e886
Add TermSession class to represent a terminal session

At the moment, the assumption that each terminal activity contains only
one EmulatorView and hosts only one terminal session is fairly deeply
embedded into the code.  To help break this assumption, we introduce a
new TermSession class, which holds the TerminalEmulator and
TranscriptScreen for a session, and handles the launching and watching
of the process and the setup of the I/O streams.
src/jackpal/androidterm/model/UpdateCallback.java [new file with mode: 0644]
src/jackpal/androidterm/session/TermSession.java [new file with mode: 0644]