C# Class Gochiusearch.Mac.MainWindowController

Inheritance: NSWindowController, INSTouchBarDelegate
Show file Open project: ksasao/Gochiusearch Class Usage Examples

Public Methods

Method Description
AwakeFromNib ( ) : void
MainWindowController ( IntPtr handle ) : System
MainWindowController ( NSString containerDirectory ) : System
WindowDidLoad ( ) : void

Private Methods

Method Description
ClearLog ( ) : void

Clears the present logs.

FindImage ( string file ) : void

Finds the related story from image.

FindImageByUrl ( NSString url ) : void
HideTouchBar ( ) : void
InitializeUserInterfaces ( ) : void
LoadImageInfoAsync ( ) : System.Threading.Tasks.Task

Loads the image information from index.db.

LoadStoryInfo ( ) : void

Loads the story information from index.txt.

MainWindowController ( NSCoder coder ) : System
OnOpenNiconicoChanged ( NSObject sender ) : void
OutputLog ( string text, NSStringAttributes attributes = null ) : void

Outputs the log.

ShowAlertOnWindow ( string msg, string title, NSAlertStyle style = NSAlertStyle.Informational ) : void

Shows the alert on this window.

ShowTouchBar ( string result, NSUrl url, string file ) : void
SupportsTouchBar ( ) : bool

Method Details

AwakeFromNib() public method

public AwakeFromNib ( ) : void
return void

MainWindowController() public method

public MainWindowController ( IntPtr handle ) : System
handle System.IntPtr
return System

MainWindowController() public method

public MainWindowController ( NSString containerDirectory ) : System
containerDirectory NSString
return System

WindowDidLoad() public method

public WindowDidLoad ( ) : void
return void