Revision: 4271
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4271&view=rev
Author:   hofman
Date:     2008-07-21 17:14:46 +0000 (Mon, 21 Jul 2008)

Log Message:
-----------
Better to link and import umbrella Cocoa and Quartz frameworks rather than 
subframeworks. Though I don't completely understand the restrictions described 
in the docs.

Modified Paths:
--------------
    trunk/SkimNotes/NSFileManager_SKNToolExtensions.h
    trunk/SkimNotes/PDFAnnotation_SKNExtensions.h
    trunk/SkimNotes/PDFDocument_SKNExtensions.h
    trunk/SkimNotes/SKNAgentListener.h
    trunk/SkimNotes/SKNPDFAnnotationNote.h
    trunk/SkimNotes/SKNUtilities.h
    trunk/SkimNotes/SKNUtilities.m
    trunk/SkimNotes/SkimNotes.xcodeproj/project.pbxproj
    trunk/SkimNotes/SkimNotes_Prefix.pch
    trunk/SkimNotes/SkimNotes_Tool_Prefix.pch
    trunk/SkimNotes/skimnotes.m

Modified: trunk/SkimNotes/NSFileManager_SKNToolExtensions.h
===================================================================
--- trunk/SkimNotes/NSFileManager_SKNToolExtensions.h   2008-07-21 16:57:53 UTC 
(rev 4270)
+++ trunk/SkimNotes/NSFileManager_SKNToolExtensions.h   2008-07-21 17:14:46 UTC 
(rev 4271)
@@ -36,7 +36,7 @@
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#import <Foundation/Foundation.h>
+#import <Cocoa/Cocoa.h>
 
 
 @interface NSFileManager (SKNToolExtensions)

Modified: trunk/SkimNotes/PDFAnnotation_SKNExtensions.h
===================================================================
--- trunk/SkimNotes/PDFAnnotation_SKNExtensions.h       2008-07-21 16:57:53 UTC 
(rev 4270)
+++ trunk/SkimNotes/PDFAnnotation_SKNExtensions.h       2008-07-21 17:14:46 UTC 
(rev 4271)
@@ -42,7 +42,7 @@
     @discussion  This header file provides API for an 
<code>PDFAnnotation</code> categories to convert Skim note dictionaries to 
<code>PDFAnnotations</code> and back.
 */
 #import <Cocoa/Cocoa.h>
-#import <PDFKit/PDFKit.h>
+#import <Quartz/Quartz.h>
 
 /*!
     @discussion  Global string for Free Text note type.

Modified: trunk/SkimNotes/PDFDocument_SKNExtensions.h
===================================================================
--- trunk/SkimNotes/PDFDocument_SKNExtensions.h 2008-07-21 16:57:53 UTC (rev 
4270)
+++ trunk/SkimNotes/PDFDocument_SKNExtensions.h 2008-07-21 17:14:46 UTC (rev 
4271)
@@ -42,7 +42,7 @@
     @discussion  This header file provides API for an <code>PDFDocument</code> 
category to add Skim note annotations to a <code>PDFDocument</code>.
 */
 #import <Cocoa/Cocoa.h>
-#import <PDFKit/PDFKit.h>
+#import <Quartz/Quartz.h>
 
 
 /*!

Modified: trunk/SkimNotes/SKNAgentListener.h
===================================================================
--- trunk/SkimNotes/SKNAgentListener.h  2008-07-21 16:57:53 UTC (rev 4270)
+++ trunk/SkimNotes/SKNAgentListener.h  2008-07-21 17:14:46 UTC (rev 4271)
@@ -35,7 +35,7 @@
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#import <Foundation/Foundation.h>
+#import <Cocoa/Cocoa.h>
 
 
 @interface SKNAgentListener : NSObject {

Modified: trunk/SkimNotes/SKNPDFAnnotationNote.h
===================================================================
--- trunk/SkimNotes/SKNPDFAnnotationNote.h      2008-07-21 16:57:53 UTC (rev 
4270)
+++ trunk/SkimNotes/SKNPDFAnnotationNote.h      2008-07-21 17:14:46 UTC (rev 
4271)
@@ -42,7 +42,7 @@
     @discussion  This header file declares API for a concrete 
<code>PDFAnnotation</code> class representing a Skim anchored note.
 */
 #import <Cocoa/Cocoa.h>
-#import <PDFKit/PDFKit.h>
+#import <Quartz/Quartz.h>
 
 /*!
     @discussion  Global string for annotation text key.

Modified: trunk/SkimNotes/SKNUtilities.h
===================================================================
--- trunk/SkimNotes/SKNUtilities.h      2008-07-21 16:57:53 UTC (rev 4270)
+++ trunk/SkimNotes/SKNUtilities.h      2008-07-21 17:14:46 UTC (rev 4271)
@@ -36,7 +36,7 @@
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#import <Foundation/Foundation.h>
+#import <Cocoa/Cocoa.h>
 
 #define SKIM_NOTES_KEY      @"net_sourceforge_skim-app_notes"
 #define SKIM_RTF_NOTES_KEY  @"net_sourceforge_skim-app_rtf_notes"

Modified: trunk/SkimNotes/SKNUtilities.m
===================================================================
--- trunk/SkimNotes/SKNUtilities.m      2008-07-21 16:57:53 UTC (rev 4270)
+++ trunk/SkimNotes/SKNUtilities.m      2008-07-21 17:14:46 UTC (rev 4271)
@@ -37,7 +37,6 @@
  */
 
 #import "SKNUtilities.h"
-#import <AppKit/AppKit.h>
 
 #define NOTE_PAGE_INDEX_KEY @"pageIndex"
 #define NOTE_TYPE_KEY @"type"

Modified: trunk/SkimNotes/SkimNotes.xcodeproj/project.pbxproj
===================================================================
--- trunk/SkimNotes/SkimNotes.xcodeproj/project.pbxproj 2008-07-21 16:57:53 UTC 
(rev 4270)
+++ trunk/SkimNotes/SkimNotes.xcodeproj/project.pbxproj 2008-07-21 17:14:46 UTC 
(rev 4271)
@@ -37,9 +37,8 @@
 
 /* Begin PBXBuildFile section */
                8DC2EF570486A6940098B216 /* Cocoa.framework in Frameworks */ = 
{isa = PBXBuildFile; fileRef = 1058C7B1FEA5585E11CA2CBB /* Cocoa.framework */; 
};
-               CE1F63460E34A66F00E07E76 /* AppKit.framework in Frameworks */ = 
{isa = PBXBuildFile; fileRef = 0867D6A5FE840307C02AAC07 /* AppKit.framework */; 
};
-               CE1F63470E34A67000E07E76 /* Foundation.framework in Frameworks 
*/ = {isa = PBXBuildFile; fileRef = 0867D69BFE84028FC02AAC07 /* 
Foundation.framework */; };
-               CE1F63530E34A99100E07E76 /* PDFKit.framework in Frameworks */ = 
{isa = PBXBuildFile; fileRef = CEBA2C400E058C950000B2E6 /* PDFKit.framework */; 
};
+               CE1F648E0E34F9E700E07E76 /* Cocoa.framework in Frameworks */ = 
{isa = PBXBuildFile; fileRef = 1058C7B1FEA5585E11CA2CBB /* Cocoa.framework */; 
};
+               CE1F649C0E34FAC300E07E76 /* Quartz.framework in Frameworks */ = 
{isa = PBXBuildFile; fileRef = CE1F649B0E34FAC300E07E76 /* Quartz.framework */; 
};
                CE37766F0E2FBB7300261604 /* NSFileManager_SKNToolExtensions.m 
in Sources */ = {isa = PBXBuildFile; fileRef = CE3776640E2FB47500261604 /* 
NSFileManager_SKNToolExtensions.m */; };
                CE37768C0E2FC26100261604 /* SKNUtilities.h in Headers */ = {isa 
= PBXBuildFile; fileRef = CE37768A0E2FC26100261604 /* SKNUtilities.h */; };
                CE37768D0E2FC26100261604 /* SKNUtilities.m in Sources */ = {isa 
= PBXBuildFile; fileRef = CE37768B0E2FC26100261604 /* SKNUtilities.m */; };
@@ -154,6 +153,7 @@
                CE17EF880E250E8A00DE06EA /* SkimNotes-Release.xcconfig */ = 
{isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; 
name = "SkimNotes-Release.xcconfig"; path = 
"Configurations/SkimNotes-Release.xcconfig"; sourceTree = "<group>"; };
                CE17EF890E250E8A00DE06EA /* SkimNotes-Tool.xcconfig */ = {isa = 
PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = 
"SkimNotes-Tool.xcconfig"; path = "Configurations/SkimNotes-Tool.xcconfig"; 
sourceTree = "<group>"; };
                CE17F1BB0E25861700DE06EA /* SkimNotes_Tool_Prefix.pch */ = {isa 
= PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path 
= SkimNotes_Tool_Prefix.pch; sourceTree = "<group>"; };
+               CE1F649B0E34FAC300E07E76 /* Quartz.framework */ = {isa = 
PBXFileReference; lastKnownFileType = wrapper.framework; name = 
Quartz.framework; path = /System/Library/Frameworks/Quartz.framework; 
sourceTree = "<absolute>"; };
                CE3776630E2FB47500261604 /* NSFileManager_SKNToolExtensions.h 
*/ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = 
sourcecode.c.h; path = NSFileManager_SKNToolExtensions.h; sourceTree = 
"<group>"; };
                CE3776640E2FB47500261604 /* NSFileManager_SKNToolExtensions.m 
*/ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = 
sourcecode.c.objc; path = NSFileManager_SKNToolExtensions.m; sourceTree = 
"<group>"; };
                CE37768A0E2FC26100261604 /* SKNUtilities.h */ = {isa = 
PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = 
SKNUtilities.h; sourceTree = "<group>"; };
@@ -210,7 +210,7 @@
                        files = (
                                8DC2EF570486A6940098B216 /* Cocoa.framework in 
Frameworks */,
                                CEBA2D1C0E05A61F0000B2E6 /* libbz2.dylib in 
Frameworks */,
-                               CE1F63530E34A99100E07E76 /* PDFKit.framework in 
Frameworks */,
+                               CE1F649C0E34FAC300E07E76 /* Quartz.framework in 
Frameworks */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };
@@ -228,8 +228,7 @@
                        buildActionMask = 2147483647;
                        files = (
                                CEBA2D1B0E05A61F0000B2E6 /* libbz2.dylib in 
Frameworks */,
-                               CE1F63460E34A66F00E07E76 /* AppKit.framework in 
Frameworks */,
-                               CE1F63470E34A67000E07E76 /* 
Foundation.framework in Frameworks */,
+                               CE1F648E0E34F9E700E07E76 /* Cocoa.framework in 
Frameworks */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };
@@ -314,7 +313,7 @@
                        isa = PBXGroup;
                        children = (
                                1058C7B1FEA5585E11CA2CBB /* Cocoa.framework */,
-                               CEBA2C400E058C950000B2E6 /* PDFKit.framework */,
+                               CE1F649B0E34FAC300E07E76 /* Quartz.framework */,
                                CEBA2D1A0E05A61F0000B2E6 /* libbz2.dylib */,
                        );
                        name = "Linked Frameworks";
@@ -325,6 +324,7 @@
                        children = (
                                0867D69BFE84028FC02AAC07 /* 
Foundation.framework */,
                                0867D6A5FE840307C02AAC07 /* AppKit.framework */,
+                               CEBA2C400E058C950000B2E6 /* PDFKit.framework */,
                        );
                        name = "Other Frameworks";
                        sourceTree = "<group>";

Modified: trunk/SkimNotes/SkimNotes_Prefix.pch
===================================================================
--- trunk/SkimNotes/SkimNotes_Prefix.pch        2008-07-21 16:57:53 UTC (rev 
4270)
+++ trunk/SkimNotes/SkimNotes_Prefix.pch        2008-07-21 17:14:46 UTC (rev 
4271)
@@ -4,7 +4,7 @@
 
 #ifdef __OBJC__
     #import <Cocoa/Cocoa.h>
-    #import <PDFKit/PDFKit.h>
+    #import <Quartz/Quartz.h>
     
     #if !defined(MAC_OS_X_VERSION_10_5) || MAC_OS_X_VERSION_MAX_ALLOWED < 
MAC_OS_X_VERSION_10_5
     #import "SKNCompatibility.h"

Modified: trunk/SkimNotes/SkimNotes_Tool_Prefix.pch
===================================================================
--- trunk/SkimNotes/SkimNotes_Tool_Prefix.pch   2008-07-21 16:57:53 UTC (rev 
4270)
+++ trunk/SkimNotes/SkimNotes_Tool_Prefix.pch   2008-07-21 17:14:46 UTC (rev 
4271)
@@ -3,8 +3,7 @@
 //
 
 #ifdef __OBJC__
-    #import <Foundation/Foundation.h>
-    #import <AppKit/AppKit.h>
+    #import <Cocoa/Cocoa.h>
     
     #if !defined(MAC_OS_X_VERSION_10_5) || MAC_OS_X_VERSION_MAX_ALLOWED < 
MAC_OS_X_VERSION_10_5
     #import "SKNCompatibility.h"

Modified: trunk/SkimNotes/skimnotes.m
===================================================================
--- trunk/SkimNotes/skimnotes.m 2008-07-21 16:57:53 UTC (rev 4270)
+++ trunk/SkimNotes/skimnotes.m 2008-07-21 17:14:46 UTC (rev 4271)
@@ -1,4 +1,4 @@
-#import <Foundation/Foundation.h>
+#import <Cocoa/Cocoa.h>
 #import "NSFileManager_SKNToolExtensions.h"
 #import "SKNAgentListener.h"
 #import "SKNUtilities.h"


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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to