Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Xcode wasn't happy about importing ZeroKit from the .pch file.

  • Loading branch information...
commit fc56f51b28d98b9059fe175fded45767f77d312f 1 parent 7c92a3b
@eczarny authored
View
1  Spectacle.pch
@@ -1,5 +1,4 @@
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#import <QuartzCore/QuartzCore.h>
- #import <ZeroKit/ZeroKit.h>
#endif
View
26 SpectacleConstants.h
@@ -1,28 +1,7 @@
-#define SpectaclePreferencePaneName @"Spectacle"
-#define SpectacleHelperApplicationName @"SpectacleHelper"
-#define SpectacleBundleIdentifier @"com.divisiblebyzero.Spectacle"
-#define SpectacleHelperBundleIdentifier @"com.divisiblebyzero.SpectacleHelper"
-
-#define SpectacleApplicationBundleExtension @"app"
-
-#pragma mark -
-
-#define SpectacleNibName @"Spectacle"
-#define SpectaclePreferencePaneNibName @"SpectaclePreferencePane"
#define SpectaclePreferencesWindowNibName @"SpectaclePreferencesWindow"
#pragma mark -
-#define SpectacleHelperControllerServiceName @"SpectacleHelperControllerServiceName"
-
-#pragma mark -
-
-#define SpectacleHelperDidFinishLaunchingNotification @"SpectacleHelperDidFinishLaunchingNotification"
-#define SpectacleHelperDidTerminateNotification @"SpectacleHelperDidTerminateNotification"
-#define SpectacleHelperShouldTerminateNotification @"SpectacleHelperShouldTerminateNotification"
-
-#pragma mark -
-
#define SpectacleStatusItemEnabledNotification @"SpectacleStatusItemEnabledNotification"
#define SpectacleStatusItemDisabledNotification @"SpectacleStatusItemDisabledNotification"
@@ -62,11 +41,6 @@
#pragma mark -
-#define SpectacleSliderBackgroundImage @"Slider Background"
-#define SpectacleSliderMaskImage @"Slider Mask"
-#define SpectacleSliderHandleImage @"Slider Handle"
-#define SpectacleSliderPressedHandleImage @"Slider Pressed Handle"
-
#define SpectacleStatusItemIcon @"Spectacle Status Item"
#define SpectacleAlternateStatusItemIcon @"Spectacle Alternate Status Item"
View
3  SpectacleHistoryItem.h
@@ -1,6 +1,5 @@
#import <Foundation/Foundation.h>
-
-@class ZeroKitAccessibilityElement;
+#import <ZeroKit/ZeroKit.h>
@interface SpectacleHistoryItem : NSObject {
ZeroKitAccessibilityElement *myAccessibilityElement;
View
3  SpectacleHotKeyManager.h
@@ -1,6 +1,5 @@
#import <Foundation/Foundation.h>
-
-@class ZeroKitHotKey;
+#import <ZeroKit/ZeroKit.h>
@interface SpectacleHotKeyManager : NSObject {
NSMutableDictionary *myRegisteredHotKeys;
View
1  SpectacleHotKeyValidator.h
@@ -1,4 +1,5 @@
#import <Foundation/Foundation.h>
+#import <ZeroKit/ZeroKit.h>
@interface SpectacleHotKeyValidator : NSObject<ZeroKitHotKeyValidatorProtocol>
View
1  SpectaclePreferencesController.h
@@ -1,4 +1,5 @@
#import <Cocoa/Cocoa.h>
+#import <ZeroKit/ZeroKit.h>
@class SpectacleHotKeyManager, SpectacleApplicationController;
View
3  SpectacleUtilities.h
@@ -1,4 +1,5 @@
#import <Foundation/Foundation.h>
+#import <ZeroKit/ZeroKit.h>
#define FlipVerticalOriginOfRectInRect(a, b) (b.size.height - (a.origin.y + a.size.height) + ([[NSScreen mainScreen] frame].size.height - b.size.height))
@@ -23,8 +24,6 @@
#pragma mark -
-@class ZeroKitHotKeyAction;
-
@interface SpectacleUtilities : ZeroKitUtilities
+ (void)displayAccessibilityAPIAlert;
View
1  SpectacleWindowPositionManager.h
@@ -1,4 +1,5 @@
#import <Foundation/Foundation.h>
+#import <ZeroKit/ZeroKit.h>
typedef enum {
SpectacleWindowActionUndo = -3,
Please sign in to comment.
Something went wrong with that request. Please try again.