Import MP42Foundation.
This commit is contained in:
36 files changed
+35
-8
No files matched your search
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
class ActivityWindowController : NSWindowController, MP42Logging {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
class DocumentController : NSDocumentController {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
protocol ChapterSearchControllerDelegate : AnyObject {
|
||||
func didSelect(chapters: [MP42TextSample])
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
import Cocoa
|
||||
import IOKit.pwr_mgt
|
||||
import MP42Foundation
|
||||
|
||||
@objc(SBDocument) class Document: NSDocument {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
private extension NSPasteboard.PasteboardType {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
protocol FileImportControllerDelegate : AnyObject {
|
||||
func didSelect(tracks: [MP42Track], metadata: MP42Metadata?)
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
class GeneralPrefsViewController: NSViewController {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import MP42Foundation
|
||||
|
||||
@objc(SBLanguageTransformer) class LanguageTransformer : ValueTransformer {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import MP42Foundation
|
||||
|
||||
class Logger : NSObject, MP42Logging {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import MP42Foundation
|
||||
|
||||
private extension String {
|
||||
func condensingWhitespace() -> String {
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import MP42Foundation
|
||||
|
||||
public struct ChapterDB : ChapterService {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import MP42Foundation
|
||||
|
||||
public enum LanguageType {
|
||||
case ISO
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import MP42Foundation
|
||||
|
||||
// MARK: - Image
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import MP42Foundation
|
||||
|
||||
public class MetadataResultMapItem: Codable {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import MP42Foundation
|
||||
|
||||
public struct TheMovieDB: MetadataService {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import MP42Foundation
|
||||
|
||||
public struct TheTVDB : MetadataService, MetadataNameService {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import MP42Foundation
|
||||
|
||||
public struct TVDBSeriesSearchResult : Codable {
|
||||
public let aliases: [String]
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import MP42Foundation
|
||||
|
||||
private extension String {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
class MetadataPrefsViewController : NSViewController, NSTableViewDelegate, NSTableViewDataSource, TokenChangeObserver {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import MP42Foundation
|
||||
|
||||
@objc(SBMetadataPreset) class MetadataPreset: NSObject, Preset {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
protocol MetadataSearchControllerDelegate : AnyObject {
|
||||
func didSelect(metadata: MetadataResult)
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
class OffsetViewController: NSViewController {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
@objc(SBOptionsViewController) class OptionsViewController: NSViewController {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
class OutputPrefsViewController: NSViewController, TokenChangeObserver {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import MP42Foundation
|
||||
|
||||
extension PresetManager.Error: LocalizedError {
|
||||
public var errorDescription: String? {
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
class ChapterViewController : NSViewController, NSTableViewDataSource, NSTableViewDelegate {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
/// A MediaTag is composed of a tag value and a boolean state.
|
||||
private class MediaTag {
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
extension SBMovieViewController {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
class SoundViewController : NSViewController {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
class VideoViewController: NSViewController {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import MP42Foundation
|
||||
|
||||
/// SBQueue actions protocol, actions can be run by the queue's items.
|
||||
//@objc(SBQueueActionProtocol) protocol QueueActionProtocol: NSSecureCoding {
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
class SaveOptions: NSViewController {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import MP42Foundation
|
||||
|
||||
public class Token: Codable {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
class TokensViewController: NSViewController, NSTextFieldDelegate {
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
//
|
||||
|
||||
import Cocoa
|
||||
import MP42Foundation
|
||||
|
||||
protocol TracksViewControllerDelegate: AnyObject {
|
||||
func didSelect(tracks: [MP42Track])
|
||||
|
||||
Reference in new issue
Block a user