From c8bad0913b63e04dfe6b8bcb00702f20daf00182 Mon Sep 17 00:00:00 2001 From: zonble Date: Mon, 1 Mar 2021 22:48:46 +0800 Subject: [PATCH] Removes unused code. --- Source/InputMethodController.h | 2 +- Source/OVNonModalAlertWindowController.h | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/Source/InputMethodController.h b/Source/InputMethodController.h index e8b91760..e3f3e57b 100644 --- a/Source/InputMethodController.h +++ b/Source/InputMethodController.h @@ -69,8 +69,8 @@ // current input mode NSString *_inputMode; + // if Chinese convertion is enabled BOOL _chineseConvertionEnabled; - } @end diff --git a/Source/OVNonModalAlertWindowController.h b/Source/OVNonModalAlertWindowController.h index 91453cb8..e0eea1e2 100644 --- a/Source/OVNonModalAlertWindowController.h +++ b/Source/OVNonModalAlertWindowController.h @@ -18,14 +18,6 @@ @end @interface OVNonModalAlertWindowController : NSWindowController -{ -@private -// NSTextField *_titleTextField; -// NSTextField *_contentTextField; -// NSButton *_confirmButton; -// NSButton *_cancelButton; -// id _delegate; -} + (OVNonModalAlertWindowController *)sharedInstance; - (void)showWithTitle:(NSString *)title content:(NSString *)content confirmButtonTitle:(NSString *)confirmTitle cancelButtonTitle:(NSString *)cancelButtonTitle cancelAsDefault:(BOOL)cancelAsDefault delegate:(id)delegate;