|
@@ -7,27 +7,19 @@
|
|
|
|
|
|
import Foundation
|
|
|
|
|
|
-protocol KMSystemToolMenuProtocol {
|
|
|
- func menuItemAction_textTool(_ sender: Any)
|
|
|
- func menuItemAction_scrolTool(_ sender: Any)
|
|
|
- func menuItemAction_zoomOutTool(_ sender: Any)
|
|
|
- func menuItemAction_selectTool(_ sender: Any)
|
|
|
- func menuItemAction_redact(_ sender: Any)
|
|
|
- func menuItemAction_warkmark(_ sender: Any)
|
|
|
- func menuItemAction_background(_ sender: Any)
|
|
|
- func menuItemAction_headerfooter(_ sender: Any)
|
|
|
- func menuItemAction_bates(_ sender: Any)
|
|
|
- func menuItemAction_batch(_ sender: Any)
|
|
|
-}
|
|
|
-extension KMSystemToolMenuProtocol {
|
|
|
- func menuItemAction_textTool(_ sender: Any) {}
|
|
|
+@objc protocol KMSystemToolMenuProtocol: NSObjectProtocol {
|
|
|
+ @objc optional func menuItemAction_textTool(_ sender: Any)
|
|
|
+ @objc func menuItemAction_scrolTool(_ sender: Any)
|
|
|
+ @objc func menuItemAction_zoomOutTool(_ sender: Any)
|
|
|
+ @objc func menuItemAction_selectTool(_ sender: Any)
|
|
|
+ @objc optional func menuItemAction_redact(_ sender: Any)
|
|
|
+ @objc optional func menuItemAction_warkmark(_ sender: Any)
|
|
|
+ @objc optional func menuItemAction_background(_ sender: Any)
|
|
|
+ @objc optional func menuItemAction_headerfooter(_ sender: Any)
|
|
|
+ @objc optional func menuItemAction_bates(_ sender: Any)
|
|
|
+ @objc optional func menuItemAction_batch(_ sender: Any)
|
|
|
|
|
|
- func menuItemAction_redact(_ sender: Any) {}
|
|
|
- func menuItemAction_warkmark(_ sender: Any) {}
|
|
|
- func menuItemAction_background(_ sender: Any) {}
|
|
|
- func menuItemAction_headerfooter(_ sender: Any) {}
|
|
|
- func menuItemAction_bates(_ sender: Any) {}
|
|
|
- func menuItemAction_batch(_ sender: Any) {}
|
|
|
+ @objc optional func compression(_ sender: Any?)
|
|
|
}
|
|
|
|
|
|
extension KMSystemMenu.Tool {
|