summaryrefslogtreecommitdiff
path: root/MLKListenerController.h
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-08-28 16:26:07 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-08-28 16:26:07 +0200
commit3a5710bf7cb85da4ba6a327d6149db46e6bed82e (patch)
treefd63fdf8063ed5230e43785c64bd1990c42875a3 /MLKListenerController.h
parent5afdd34ed00ed1de76b90a884e5b04bd699dc0af (diff)
Eliminate MLKStream, introduce MLKBinaryStream and MLKCharacterStream.
Diffstat (limited to 'MLKListenerController.h')
-rw-r--r--MLKListenerController.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/MLKListenerController.h b/MLKListenerController.h
index a5a7a4b..6e12a8f 100644
--- a/MLKListenerController.h
+++ b/MLKListenerController.h
@@ -16,26 +16,23 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#import "MLKStream.h"
+#import "MLKCharacterStream.h"
#import <Cocoa/Cocoa.h>
-@interface MLKListenerController : NSObject
+@interface MLKListenerController : MLKCharacterStream
{
IBOutlet id indicatorText;
IBOutlet id inputField;
IBOutlet id outputTextView;
IBOutlet id statusText;
IBOutlet id submitButton;
-
- MLKStream *lispStream;
- NSOutputStream *ostream;
}
-- (id)init;
-- (void)dealloc;
++ (void)initialize;
-- (void)stream:(NSStream *)stream handleEvent:(NSStreamEvent)event;
+- (void)writeChar:(unichar)ch;
+- (void)writeString:(NSString *)string;
- (IBAction)submit:(id)sender;
@end