mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
Fix build with Xcode 10
For some reason, Mac client is the only project that references libtransmission files as if they were a part of its own project, and inconsistently so. Make the include/import style uniform an in line with other projects. Adjust Mac client include directory settings a bit along the way.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#import <QuickLook/QuickLook.h>
|
||||
|
||||
#import "transmission.h"
|
||||
#include <libtransmission/transmission.h>
|
||||
|
||||
#import "NSStringAdditions.h"
|
||||
|
||||
OSStatus GeneratePreviewForURL(void *thisInterface, QLPreviewRequestRef preview, CFURLRef url, CFStringRef contentTypeUTI, CFDictionaryRef options);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
#include <CoreServices/CoreServices.h>
|
||||
#include <QuickLook/QuickLook.h>
|
||||
#import <CoreFoundation/CoreFoundation.h>
|
||||
#import <CoreServices/CoreServices.h>
|
||||
#import <QuickLook/QuickLook.h>
|
||||
|
||||
OSStatus GenerateThumbnailForURL(void *thisInterface, QLThumbnailRequestRef thumbnail, CFURLRef url, CFStringRef contentTypeUTI, CFDictionaryRef options, CGSize maxSize);
|
||||
void CancelThumbnailGeneration(void *thisInterface, QLThumbnailRequestRef thumbnail);
|
||||
|
||||
@@ -7,11 +7,6 @@
|
||||
//
|
||||
//==============================================================================
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
#include <CoreFoundation/CFPlugInCOM.h>
|
||||
#include <CoreServices/CoreServices.h>
|
||||
|
||||
Reference in New Issue
Block a user