mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-28 19:47:41 +03:00
21 lines
349 B
Swift
21 lines
349 B
Swift
/**
|
|
* Tae Won Ha - http://taewon.de - @hataewon
|
|
* See LICENSE
|
|
*/
|
|
|
|
import Cocoa
|
|
|
|
protocol PreviewRenderer: class {
|
|
|
|
}
|
|
|
|
enum PreviewRendererAction {
|
|
|
|
case htmlString(renderer: PreviewRenderer, html: String, baseUrl: URL)
|
|
case view(renderer: PreviewRenderer, view: NSView)
|
|
|
|
case scroll(to: Position)
|
|
|
|
case error(renderer: PreviewRenderer)
|
|
}
|