Revision: 13825
          http://sourceforge.net/p/skim-app/code/13825
Author:   hofman
Date:     2023-12-04 15:24:52 +0000 (Mon, 04 Dec 2023)
Log Message:
-----------
don't add PDFKit to precompile header, only used for a few files

Modified Paths:
--------------
    trunk/SkimNotes/SkimNotes_Prefix.pch
    trunk/SkimNotes/SkimPDF_Tool_Prefix.pch

Modified: trunk/SkimNotes/SkimNotes_Prefix.pch
===================================================================
--- trunk/SkimNotes/SkimNotes_Prefix.pch        2023-12-04 14:52:23 UTC (rev 
13824)
+++ trunk/SkimNotes/SkimNotes_Prefix.pch        2023-12-04 15:24:52 UTC (rev 
13825)
@@ -3,8 +3,13 @@
 //
 
 #ifdef __OBJC__
-    #import <Foundation/Foundation.h>
-    #import <PDFKit/PDFKit.h>
-
+#import <Foundation/Foundation.h>
+#if (defined(TARGET_OS_SIMULATOR) && TARGET_OS_SIMULATOR) || 
(defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE)
+#import <UIKit/UIKit.h>
+#import <CoreGraphics/CoreGraphics.h>
+#else
+#import <AppKit/AppKit.h>
+#endif
+    
     #define SKNLocalizedString(key, comment) 
NSLocalizedStringFromTableInBundle(key, @"SkimNotes", [NSBundle 
bundleWithIdentifier:@"net.sourceforge.skim-app.framework.SkimNotes"], comment)
 #endif

Modified: trunk/SkimNotes/SkimPDF_Tool_Prefix.pch
===================================================================
--- trunk/SkimNotes/SkimPDF_Tool_Prefix.pch     2023-12-04 14:52:23 UTC (rev 
13824)
+++ trunk/SkimNotes/SkimPDF_Tool_Prefix.pch     2023-12-04 15:24:52 UTC (rev 
13825)
@@ -5,7 +5,6 @@
 #ifdef __OBJC__
     #import <Foundation/Foundation.h>
     #import <AppKit/AppKit.h>
-    #import <PDFKit/PDFKit.h>
-
+    
     #define SKNLocalizedString(key, comment) key
 #endif

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to