Repo // Remove useless headers.

This commit is contained in:
ShikiSuen 2022-08-23 09:45:31 +08:00
parent 30c370c471
commit f58b4d37c5
16 changed files with 9 additions and 18 deletions

View File

@ -2,9 +2,7 @@
// ==================== // ====================
// This code is released under the MIT license (SPDX-License-Identifier: MIT) // This code is released under the MIT license (SPDX-License-Identifier: MIT)
import Carbon
import Cocoa import Cocoa
import Foundation
extension Date { extension Date {
static func - (lhs: Date, rhs: Date) -> TimeInterval { static func - (lhs: Date, rhs: Date) -> TimeInterval {

View File

@ -6,8 +6,6 @@
// marks, or product names of Contributor, except as required to fulfill notice // marks, or product names of Contributor, except as required to fulfill notice
// requirements defined in MIT License. // requirements defined in MIT License.
import Cocoa
enum AppleKeyboardConverter { enum AppleKeyboardConverter {
static let arrDynamicBasicKeyLayout: [String] = [ static let arrDynamicBasicKeyLayout: [String] = [
"com.apple.keylayout.ZhuyinBopomofo", "com.apple.keylayout.ZhuyinBopomofo",

View File

@ -8,7 +8,7 @@
// marks, or product names of Contributor, except as required to fulfill notice // marks, or product names of Contributor, except as required to fulfill notice
// requirements defined in MIT License. // requirements defined in MIT License.
import Cocoa import Foundation
// InputState 使 Struct Struct // InputState 使 Struct Struct

View File

@ -12,7 +12,7 @@
/// Megrez Tekkon /// Megrez Tekkon
/// composer compositor /// composer compositor
import Cocoa import Foundation
// MARK: - (Delegate). // MARK: - (Delegate).

View File

@ -10,7 +10,7 @@
/// 調 /// 調
import Cocoa import Foundation
// MARK: - § 調 (Handle Candidate State). // MARK: - § 調 (Handle Candidate State).

View File

@ -11,7 +11,7 @@
/// 調 IMK 調 /// 調 IMK 調
/// 調 /// 調
import Cocoa import Foundation
// MARK: - § 調 (Handle Input with States) // MARK: - § 調 (Handle Input with States)

View File

@ -10,7 +10,7 @@
/// 調調 /// 調調
import Cocoa import Foundation
// MARK: - § 調 (Functions Interact With States). // MARK: - § 調 (Functions Interact With States).

View File

@ -8,7 +8,7 @@
// marks, or product names of Contributor, except as required to fulfill notice // marks, or product names of Contributor, except as required to fulfill notice
// requirements defined in MIT License. // requirements defined in MIT License.
import Cocoa import Foundation
/// Shiki's Notes: The cursor index in the IMK inline composition buffer /// Shiki's Notes: The cursor index in the IMK inline composition buffer
/// still uses UTF16 index measurements. This means that any attempt of /// still uses UTF16 index measurements. This means that any attempt of

View File

@ -8,7 +8,6 @@
// marks, or product names of Contributor, except as required to fulfill notice // marks, or product names of Contributor, except as required to fulfill notice
// requirements defined in MIT License. // requirements defined in MIT License.
import Cocoa
import InputMethodKit import InputMethodKit
/// ///

View File

@ -9,7 +9,6 @@
// requirements defined in MIT License. // requirements defined in MIT License.
import Cocoa import Cocoa
import Foundation
// MARK: - Tooltip Display and Candidate Display Methods // MARK: - Tooltip Display and Candidate Display Methods

View File

@ -6,8 +6,8 @@
// marks, or product names of Contributor, except as required to fulfill notice // marks, or product names of Contributor, except as required to fulfill notice
// requirements defined in MIT License. // requirements defined in MIT License.
import Carbon
import Cocoa import Cocoa
import InputMethodKit
// The namespace of this input method. // The namespace of this input method.
public enum vChewing {} public enum vChewing {}

View File

@ -8,8 +8,8 @@
// marks, or product names of Contributor, except as required to fulfill notice // marks, or product names of Contributor, except as required to fulfill notice
// requirements defined in MIT License. // requirements defined in MIT License.
import Carbon
import Cocoa import Cocoa
import InputMethodKit
public class InputSourceHelper: NSObject { public class InputSourceHelper: NSObject {
@available(*, unavailable) @available(*, unavailable)

View File

@ -8,7 +8,7 @@
// marks, or product names of Contributor, except as required to fulfill notice // marks, or product names of Contributor, except as required to fulfill notice
// requirements defined in MIT License. // requirements defined in MIT License.
import Cocoa import Foundation
/// mgrLangModel /// mgrLangModel
/// mgrLangModel /// mgrLangModel

View File

@ -6,7 +6,6 @@
// marks, or product names of Contributor, except as required to fulfill notice // marks, or product names of Contributor, except as required to fulfill notice
// requirements defined in MIT License. // requirements defined in MIT License.
import Cocoa
import SwiftUI import SwiftUI
extension NSImage { extension NSImage {

View File

@ -6,7 +6,6 @@
// marks, or product names of Contributor, except as required to fulfill notice // marks, or product names of Contributor, except as required to fulfill notice
// requirements defined in MIT License. // requirements defined in MIT License.
import Cocoa
import SwiftUI import SwiftUI
@available(macOS 10.15, *) @available(macOS 10.15, *)

View File

@ -6,7 +6,6 @@
// marks, or product names of Contributor, except as required to fulfill notice // marks, or product names of Contributor, except as required to fulfill notice
// requirements defined in MIT License. // requirements defined in MIT License.
import Cocoa
import SwiftUI import SwiftUI
@available(macOS 10.15, *) @available(macOS 10.15, *)