[macOS] Optimise framework imports (#3323)
This commit is contained in:
parent
e678f7c5f5
commit
7e278c453a
|
@ -606,7 +606,6 @@
|
|||
29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
|
||||
2B9BA6C508B488FE586A0AB1 /* torrents.cc */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = torrents.cc; sourceTree = "<group>"; };
|
||||
2B9BA6C508B488FE586A0AB3 /* torrents.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = torrents.h; sourceTree = "<group>"; };
|
||||
32CA4F630368D1EE00C91783 /* Transmission_Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Transmission_Prefix.pch; sourceTree = "<group>"; };
|
||||
35F373000C2DA88F00DAA8F2 /* FilePriorityCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FilePriorityCell.h; sourceTree = "<group>"; };
|
||||
35F373010C2DA88F00DAA8F2 /* FilePriorityCell.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = FilePriorityCell.mm; sourceTree = "<group>"; };
|
||||
3C7A118D0D0B2EB800B5701F /* libnatpmp.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libnatpmp.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
|
@ -1386,7 +1385,6 @@
|
|||
080E96DDFE201D6D7F000001 /* Sources */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
32CA4F630368D1EE00C91783 /* Transmission_Prefix.pch */,
|
||||
29B97316FDCFA39411CA2CEA /* main.mm */,
|
||||
C86BCD9828228A9600F45599 /* SparkleProxy.mm */,
|
||||
4DF0C5AA0899190500DD8943 /* Controller.h */,
|
||||
|
@ -3627,14 +3625,17 @@
|
|||
CODE_SIGN_IDENTITY = "-";
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
FRAMEWORK_SEARCH_PATHS = macosx;
|
||||
GCC_PREFIX_HEADER = macosx/Transmission_Prefix.pch;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
.,
|
||||
);
|
||||
LD_RUNPATH_SEARCH_PATHS = "@executable_path/../Frameworks";
|
||||
OTHER_CFLAGS = "$(inherited)";
|
||||
OTHER_CPLUSPLUSFLAGS = "$(OTHER_CFLAGS)";
|
||||
OTHER_CPLUSPLUSFLAGS = (
|
||||
"$(OTHER_CFLAGS)",
|
||||
"-fmodules",
|
||||
"-fcxx-modules",
|
||||
);
|
||||
OTHER_LDFLAGS = "-lc++";
|
||||
PRODUCT_NAME = Transmission;
|
||||
SYSTEM_HEADER_SEARCH_PATHS = (
|
||||
|
@ -3888,14 +3889,17 @@
|
|||
CODE_SIGN_IDENTITY = "-";
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
FRAMEWORK_SEARCH_PATHS = macosx;
|
||||
GCC_PREFIX_HEADER = macosx/Transmission_Prefix.pch;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
.,
|
||||
);
|
||||
LD_RUNPATH_SEARCH_PATHS = "@executable_path/../Frameworks";
|
||||
OTHER_CFLAGS = "$(inherited)";
|
||||
OTHER_CPLUSPLUSFLAGS = "$(OTHER_CFLAGS)";
|
||||
OTHER_CPLUSPLUSFLAGS = (
|
||||
"$(OTHER_CFLAGS)",
|
||||
"-fmodules",
|
||||
"-fcxx-modules",
|
||||
);
|
||||
OTHER_LDFLAGS = "-lc++";
|
||||
PRODUCT_NAME = Transmission;
|
||||
SYSTEM_HEADER_SEARCH_PATHS = (
|
||||
|
@ -4082,14 +4086,17 @@
|
|||
CODE_SIGN_IDENTITY = "-";
|
||||
ENABLE_HARDENED_RUNTIME = YES;
|
||||
FRAMEWORK_SEARCH_PATHS = macosx;
|
||||
GCC_PREFIX_HEADER = macosx/Transmission_Prefix.pch;
|
||||
HEADER_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
.,
|
||||
);
|
||||
LD_RUNPATH_SEARCH_PATHS = "@executable_path/../Frameworks";
|
||||
OTHER_CFLAGS = "$(inherited)";
|
||||
OTHER_CPLUSPLUSFLAGS = "$(OTHER_CFLAGS)";
|
||||
OTHER_CPLUSPLUSFLAGS = (
|
||||
"$(OTHER_CFLAGS)",
|
||||
"-fmodules",
|
||||
"-fcxx-modules",
|
||||
);
|
||||
OTHER_LDFLAGS = "-lc++";
|
||||
PRODUCT_NAME = Transmission;
|
||||
SYSTEM_HEADER_SEARCH_PATHS = (
|
||||
|
@ -4272,7 +4279,11 @@
|
|||
INFOPLIST_FILE = "macosx/QuickLookPlugin/QuickLookPlugin-Info.plist";
|
||||
INSTALL_PATH = /Library/QuickLook;
|
||||
OTHER_CFLAGS = "$(inherited)";
|
||||
OTHER_CPLUSPLUSFLAGS = "$(OTHER_CFLAGS)";
|
||||
OTHER_CPLUSPLUSFLAGS = (
|
||||
"$(OTHER_CFLAGS)",
|
||||
"-fcxx-modules",
|
||||
"-fmodules",
|
||||
);
|
||||
OTHER_LDFLAGS = "-lc++";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "org.m0k.transmission.${PRODUCT_NAME:rfc1034identifier}";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
|
@ -4298,7 +4309,11 @@
|
|||
INFOPLIST_FILE = "macosx/QuickLookPlugin/QuickLookPlugin-Info.plist";
|
||||
INSTALL_PATH = /Library/QuickLook;
|
||||
OTHER_CFLAGS = "$(inherited)";
|
||||
OTHER_CPLUSPLUSFLAGS = "$(OTHER_CFLAGS)";
|
||||
OTHER_CPLUSPLUSFLAGS = (
|
||||
"$(OTHER_CFLAGS)",
|
||||
"-fcxx-modules",
|
||||
"-fmodules",
|
||||
);
|
||||
OTHER_LDFLAGS = "-lc++";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "org.m0k.transmission.${PRODUCT_NAME:rfc1034identifier}";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
|
@ -4324,7 +4339,11 @@
|
|||
INFOPLIST_FILE = "macosx/QuickLookPlugin/QuickLookPlugin-Info.plist";
|
||||
INSTALL_PATH = /Library/QuickLook;
|
||||
OTHER_CFLAGS = "$(inherited)";
|
||||
OTHER_CPLUSPLUSFLAGS = "$(OTHER_CFLAGS)";
|
||||
OTHER_CPLUSPLUSFLAGS = (
|
||||
"$(OTHER_CFLAGS)",
|
||||
"-fcxx-modules",
|
||||
"-fmodules",
|
||||
);
|
||||
OTHER_LDFLAGS = "-lc++";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "org.m0k.transmission.${PRODUCT_NAME:rfc1034identifier}";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface AboutWindowController : NSWindowController
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@class Controller;
|
||||
@class Torrent;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@class Controller;
|
||||
@class Torrent;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
#include <libtransmission/transmission.h>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#include <libtransmission/transmission.h>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@class BlocklistDownloaderViewController;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#include <libtransmission/transmission.h>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/Appkit.h>
|
||||
|
||||
@interface BlocklistScheduler : NSObject
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface ButtonToolbarItem : NSToolbarItem
|
||||
|
||||
|
|
|
@ -8,6 +8,8 @@ else()
|
|||
add_definitions(-fobjc-arc)
|
||||
endif()
|
||||
|
||||
add_compile_options(-fmodules -fcxx-modules)
|
||||
|
||||
find_program(IBTOOL_EXECUTABLE ibtool REQUIRED)
|
||||
find_program(ICONUTIL_EXECUTABLE iconutil REQUIRED)
|
||||
find_program(TIFFUTIL_EXECUTABLE tiffutil REQUIRED)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface ColorTextField : NSTextField
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
#import <Quartz/Quartz.h>
|
||||
|
||||
#import <Sparkle/SUUpdaterDelegate.h>
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <IOKit/IOMessage.h>
|
||||
#import <IOKit/pwr_mgt/IOPMLib.h>
|
||||
#import <Carbon/Carbon.h>
|
||||
@import IOKit;
|
||||
@import IOKit.pwr_mgt;
|
||||
@import Carbon;
|
||||
|
||||
#import <Sparkle/Sparkle.h>
|
||||
@import Sparkle;
|
||||
|
||||
#include <atomic> /* atomic, atomic_fetch_add_explicit, memory_order_relaxed */
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
#include <libtransmission/transmission.h>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface DragOverlayView : NSView
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
#include <libtransmission/transmission.h>
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#import "DragOverlayView.h"
|
||||
#import "NSStringAdditions.h"
|
||||
|
||||
#include <libtransmission/transmission.h>
|
||||
#include <libtransmission/torrent-metainfo.h>
|
||||
|
||||
@interface DragOverlayWindow ()
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <AppKit/AppKit.h>
|
||||
@import AppKit;
|
||||
|
||||
#import "ExpandedPathToIconTransformer.h"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@class Torrent;
|
||||
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
@import AppKit;
|
||||
|
||||
#import "FileListNode.h"
|
||||
|
||||
@interface FileListNode ()
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface FileNameCell : NSActionCell
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@class Torrent;
|
||||
@class FileOutlineView;
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Quartz/Quartz.h>
|
||||
|
||||
#import "FileOutlineController.h"
|
||||
#import "Torrent.h"
|
||||
#import "FileListNode.h"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface FileOutlineView : NSOutlineView
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface FilePriorityCell : NSSegmentedCell
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// License text can be found in the licenses/ folder.
|
||||
// Created by Mitchell Livingston on 1/20/13.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@class FileListNode;
|
||||
@class Torrent;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
#define FILTER_NONE @"None"
|
||||
#define FILTER_ACTIVE @"Active"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface FilterBarView : NSView
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface FilterButton : NSButton
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
#include <libtransmission/transmission.h>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface GroupToolbarItem : NSToolbarItem
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@class Torrent;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface GroupsPrefsController : NSObject
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
#import "InfoViewController.h"
|
||||
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <Quartz/Quartz.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
#import "InfoViewController.h"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
#import "InfoViewController.h"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
#import "InfoViewController.h"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
#import "InfoViewController.h"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface InfoTextField : NSTextField
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
#import "InfoViewController.h"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@class Torrent;
|
||||
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <Quartz/Quartz.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@class Torrent;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface MessageWindowController : NSWindowController
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface NSImage (NSImageAdditions)
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface PeerProgressIndicatorCell : NSLevelIndicatorCell
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface PeerTableView : NSTableView
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@class Torrent;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface PredicateEditorRowTemplateAny : NSPredicateEditorRowTemplate
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import "PortChecker.h"
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
#include <libtransmission/transmission.h>
|
||||
|
||||
|
|
|
@ -2,11 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#import <Sparkle/Sparkle.h>
|
||||
|
||||
#include <libtransmission/transmission.h>
|
||||
#include <libtransmission/utils.h>
|
||||
|
||||
#import "VDKQueue.h"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface PrefsWindow : NSWindow
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface ProgressGradients : NSObject
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
#import <Cocoa/Cocoa.h>
|
||||
#import <CoreFoundation/CFPlugInCOM.h>
|
||||
#import <QuickLook/QuickLook.h>
|
||||
@import AppKit;
|
||||
@import CoreFoundation;
|
||||
@import QuickLook;
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <libtransmission/transmission.h>
|
||||
|
||||
#include <libtransmission/torrent-metainfo.h>
|
||||
|
||||
#import "NSStringAdditions.h"
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#import <CoreFoundation/CoreFoundation.h>
|
||||
#import <CoreFoundation/CFPlugInCOM.h>
|
||||
#import <QuickLook/QuickLook.h>
|
||||
@import CoreFoundation;
|
||||
@import QuickLook;
|
||||
|
||||
QL_EXTERN_C_BEGIN
|
||||
OSStatus GenerateThumbnailForURL(void* thisInterface, QLThumbnailRequestRef thumbnail, CFURLRef url, CFStringRef contentTypeUTI, CFDictionaryRef options, CGSize maxSize);
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <objc/runtime.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
@import ObjectiveC;
|
||||
@import AppKit;
|
||||
|
||||
void SUUpdater_checkForUpdates(id self, SEL _cmd, ...)
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
#include <libtransmission/transmission.h>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
#include <libtransmission/transmission.h>
|
||||
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <libtransmission/transmission.h>
|
||||
|
||||
#import "StatusBarController.h"
|
||||
#import "NSStringAdditions.h"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface StatusBarView : NSView
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface ToolbarSegmentedCell : NSSegmentedCell
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <Quartz/Quartz.h>
|
||||
|
||||
#include <libtransmission/transmission.h>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@class Torrent;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
#include <libtransmission/transmission.h>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface TrackerCell : NSActionCell
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#include <libtransmission/transmission.h>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@class Torrent;
|
||||
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
#ifdef __OBJC__
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#endif
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface URLSheetWindowController : NSWindowController
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
|
||||
@interface WebSeedTableView : NSTableView
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// It may be used under the MIT (SPDX: MIT) license.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
@import AppKit;
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue