Skip to content
This repository has been archived by the owner on Jan 21, 2023. It is now read-only.

Commit

Permalink
Xcode wasn't happy about importing ZeroKit from the .pch file.
Browse files Browse the repository at this point in the history
  • Loading branch information
eczarny committed Aug 26, 2012
1 parent 7c92a3b commit fc56f51
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 33 deletions.
1 change: 0 additions & 1 deletion Spectacle.pch
@@ -1,5 +1,4 @@
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#import <QuartzCore/QuartzCore.h>
#import <ZeroKit/ZeroKit.h>
#endif
26 changes: 0 additions & 26 deletions 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"

Expand Down Expand Up @@ -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"

Expand Down
3 changes: 1 addition & 2 deletions SpectacleHistoryItem.h
@@ -1,6 +1,5 @@
#import <Foundation/Foundation.h>

@class ZeroKitAccessibilityElement;
#import <ZeroKit/ZeroKit.h>

@interface SpectacleHistoryItem : NSObject {
ZeroKitAccessibilityElement *myAccessibilityElement;
Expand Down
3 changes: 1 addition & 2 deletions SpectacleHotKeyManager.h
@@ -1,6 +1,5 @@
#import <Foundation/Foundation.h>

@class ZeroKitHotKey;
#import <ZeroKit/ZeroKit.h>

@interface SpectacleHotKeyManager : NSObject {
NSMutableDictionary *myRegisteredHotKeys;
Expand Down
1 change: 1 addition & 0 deletions SpectacleHotKeyValidator.h
@@ -1,4 +1,5 @@
#import <Foundation/Foundation.h>
#import <ZeroKit/ZeroKit.h>

@interface SpectacleHotKeyValidator : NSObject<ZeroKitHotKeyValidatorProtocol>

Expand Down
1 change: 1 addition & 0 deletions SpectaclePreferencesController.h
@@ -1,4 +1,5 @@
#import <Cocoa/Cocoa.h>
#import <ZeroKit/ZeroKit.h>

@class SpectacleHotKeyManager, SpectacleApplicationController;

Expand Down
3 changes: 1 addition & 2 deletions 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))

Expand All @@ -23,8 +24,6 @@

#pragma mark -

@class ZeroKitHotKeyAction;

@interface SpectacleUtilities : ZeroKitUtilities

+ (void)displayAccessibilityAPIAlert;
Expand Down
1 change: 1 addition & 0 deletions SpectacleWindowPositionManager.h
@@ -1,4 +1,5 @@
#import <Foundation/Foundation.h>
#import <ZeroKit/ZeroKit.h>

typedef enum {
SpectacleWindowActionUndo = -3,
Expand Down

0 comments on commit fc56f51

Please sign in to comment.