new method for processing data in large chunks.

git-svn-id: svn://qnap.local/TwoTerm/trunk@3116 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
This commit is contained in:
Kelvin Sherlock
2016-07-11 02:26:55 +00:00
parent 31b0aea4c0
commit cb7ceeb697
2 changed files with 43 additions and 19 deletions
+5
View File
@@ -39,7 +39,12 @@ extern "C" unsigned EventCharacters(NSEvent *event, std::u32string &rv);
@protocol Emulator
@optional
-(void)processCharacter: (uint8_t)c screen: (Screen *)screen output: (OutputChannel *)output;
-(void)processData: (const uint8_t *)data length: (size_t)length screen: (Screen *)screen output: (OutputChannel *)output;
@required
-(void)keyDown: (NSEvent *)event screen: (Screen *)screen output: (OutputChannel *)output;
-(void)reset;