Implement file reading task source

And remove superfluous FileReaderEvent enum
This commit is contained in:
Keith Yeung 2016-06-06 16:57:15 -04:00 committed by Josh Matthews
parent 2aef518ce6
commit aa5f34fcd9
6 changed files with 96 additions and 62 deletions

View file

@ -302,7 +302,7 @@ impl Window {
self.history_traversal_task_source.clone()
}
pub fn file_reading_task_source(&self) -> Box<ScriptChan + Send> {
pub fn file_reading_task_source(&self) -> FileReadingTaskSource {
self.file_reading_task_source.clone()
}