[macOS] Optimise framework imports (#3323)

This commit is contained in:
Dmitry Serov 2022-06-29 01:15:52 +01:00 committed by GitHub
parent e678f7c5f5
commit 7e278c453a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
71 changed files with 103 additions and 98 deletions

View File

@ -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)";

View File

@ -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

View File

@ -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;

View File

@ -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;

View File

@ -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>

View File

@ -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>

View File

@ -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;

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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>

View File

@ -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 */

View File

@ -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>

View File

@ -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

View File

@ -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>

View File

@ -6,7 +6,6 @@
#import "DragOverlayView.h"
#import "NSStringAdditions.h"
#include <libtransmission/transmission.h>
#include <libtransmission/torrent-metainfo.h>
@interface DragOverlayWindow ()

View File

@ -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"

View File

@ -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;

View File

@ -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 ()

View File

@ -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

View File

@ -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;

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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;

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -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;

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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;

View File

@ -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;

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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;

View File

@ -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

View File

@ -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>

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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);

View File

@ -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, ...)
{

View File

@ -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>

View File

@ -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>

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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>

View File

@ -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;

View File

@ -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>

View File

@ -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

View File

@ -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>

View File

@ -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;

View File

@ -1,3 +0,0 @@
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#endif

View File

@ -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

View File

@ -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

View File

@ -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)
{