Revision: 6652
http://skim-app.svn.sourceforge.net/skim-app/?rev=6652&view=rev
Author: hofman
Date: 2010-07-26 10:02:24 +0000 (Mon, 26 Jul 2010)
Log Message:
-----------
move SKInteractionMode enum to NSDocument category header so we don't need to
import the whole SKMainWindowController header in other headers
Modified Paths:
--------------
trunk/NSDocument_SKExtensions.h
trunk/SKMainWindowController.h
trunk/SKPDFView.h
Modified: trunk/NSDocument_SKExtensions.h
===================================================================
--- trunk/NSDocument_SKExtensions.h 2010-07-26 09:45:12 UTC (rev 6651)
+++ trunk/NSDocument_SKExtensions.h 2010-07-26 10:02:24 UTC (rev 6652)
@@ -38,7 +38,6 @@
#import <Cocoa/Cocoa.h>
#import <Quartz/Quartz.h>
-#import "SKMainWindowController.h"
extern NSString *SKDocumentErrorDomain;
@@ -48,6 +47,13 @@
SKReadPasteboardError = 3
};
+enum {
+ SKNormalMode,
+ SKFullScreenMode,
+ SKPresentationMode
+};
+typedef NSInteger SKInteractionMode;
+
@interface NSDocument (SKExtensions)
- (SKInteractionMode)systemInteractionMode;
Modified: trunk/SKMainWindowController.h
===================================================================
--- trunk/SKMainWindowController.h 2010-07-26 09:45:12 UTC (rev 6651)
+++ trunk/SKMainWindowController.h 2010-07-26 10:02:24 UTC (rev 6652)
@@ -40,6 +40,7 @@
#import <IOKit/pwr_mgt/IOPMLib.h>
#import "SKSnapshotWindowController.h"
#import "SKThumbnail.h"
+#import "NSDocument_SKExtensions.h"
enum {
SKThumbnailSidePaneState,
@@ -60,13 +61,6 @@
typedef NSInteger SKFindPaneState;
enum {
- SKNormalMode,
- SKFullScreenMode,
- SKPresentationMode
-};
-typedef NSInteger SKInteractionMode;
-
-enum {
SKDefaultWindowOption,
SKMaximizeWindowOption,
SKFitWindowOption
Modified: trunk/SKPDFView.h
===================================================================
--- trunk/SKPDFView.h 2010-07-26 09:45:12 UTC (rev 6651)
+++ trunk/SKPDFView.h 2010-07-26 10:02:24 UTC (rev 6652)
@@ -41,6 +41,7 @@
#import "SKMainWindowController.h"
#import "SKTransitionController.h"
#import "NSGeometry_SKExtensions.h"
+#import "NSDocument_SKExtensions.h"
extern NSString *SKPDFViewToolModeChangedNotification;
extern NSString *SKPDFViewAnnotationModeChangedNotification;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit