Permalink
Browse files

Enable and use Modules

  • Loading branch information...
ashchan committed Jun 19, 2014
1 parent b4bfb39 commit b0406c6777cafa0b5def6d492db8f5d73ded8e0f
View
@@ -6,7 +6,7 @@
// Copyright (c) 2013 ashchan.com. All rights reserved.
//
#import <Foundation/Foundation.h>
@import Foundation;
extern NSString *const GNAccountKeychainServiceName;
@@ -6,7 +6,7 @@
// Copyright (c) 2013 ashchan.com. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@import Cocoa;
@class GNAccount;
@@ -6,8 +6,8 @@
// Copyright (c) 2013 ashchan.com. All rights reserved.
//
@import AppKit.NSSound;
#import "GNAccountDetailController.h"
#import <AppKit/NSSound.h>
#import "GNAccount.h"
#import "GNBrowser.h"
#import "GNSound.h"
@@ -6,7 +6,7 @@
// Copyright (c) 2014 ashchan.com. All rights reserved.
//
#import <Foundation/Foundation.h>
@import Foundation;
@class GNAccount;
@class GNChecker;
@@ -6,7 +6,7 @@
// Copyright (c) 2013 ashchan.com. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@import Cocoa;
@interface GNApplicationController : NSObject<NSApplicationDelegate>
View
@@ -6,7 +6,7 @@
// Copyright (c) 2013 ashchan.com. All rights reserved.
//
#import <Foundation/Foundation.h>
@import Foundation;
extern NSString *const GNBrowserDefaultIdentifier;
View
@@ -6,7 +6,7 @@
// Copyright (c) 2013 ashchan.com. All rights reserved.
//
#import <Foundation/Foundation.h>
@import Foundation;
extern NSString *const GNCheckingAccountNotification;
extern NSString *const GNAccountMenuUpdateNotification;
View
@@ -6,7 +6,7 @@
// Copyright (c) 2013 ashchan.com. All rights reserved.
//
#import <Foundation/Foundation.h>
@import Foundation;
@interface GNPreferences : NSObject
@@ -6,7 +6,7 @@
// Copyright (c) 2013 ashchan.com. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@import Cocoa;
@interface GNPreferencesController : NSWindowController
@@ -6,7 +6,7 @@
// Copyright (c) 2014 ashchan.com. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@import Cocoa;
@interface GNSecureTextField : NSSecureTextField
View
@@ -6,7 +6,7 @@
// Copyright (c) 2013 ashchan.com. All rights reserved.
//
#import <Foundation/Foundation.h>
@import Foundation;
extern NSString *const GNSoundNone;
View
@@ -7,7 +7,7 @@
//
#import "GNSound.h"
#import <AppKit/NSSound.h>
@import AppKit.NSSound;
NSString *const GNSoundNone = @"None";
@@ -6,7 +6,7 @@
// Copyright (c) 2013 ashchan.com. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@import Cocoa;
@interface PrefsAccountsViewController : NSViewController
@@ -6,7 +6,7 @@
// Copyright (c) 2013 ashchan.com. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@import Cocoa;
@interface PrefsSettingsViewController : NSViewController
@@ -7,18 +7,13 @@
objects = {
/* Begin PBXBuildFile section */
1AFB7F08189FBDA000B82441 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AFB7F07189FBDA000B82441 /* Cocoa.framework */; };
1AFB7F12189FBDA000B82441 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 1AFB7F10189FBDA000B82441 /* InfoPlist.strings */; };
1AFB7F14189FBDA000B82441 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 1AFB7F13189FBDA000B82441 /* main.m */; };
1AFB7F1B189FBDA000B82441 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 1AFB7F1A189FBDA000B82441 /* AppDelegate.m */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
1AFB7F04189FBDA000B82441 /* GmailNotifrHelper.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = GmailNotifrHelper.app; sourceTree = BUILT_PRODUCTS_DIR; };
1AFB7F07189FBDA000B82441 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
1AFB7F0A189FBDA000B82441 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
1AFB7F0B189FBDA000B82441 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
1AFB7F0C189FBDA000B82441 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
1AFB7F0F189FBDA000B82441 /* GmailNotifrHelper-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "GmailNotifrHelper-Info.plist"; sourceTree = "<group>"; };
1AFB7F11189FBDA000B82441 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
1AFB7F13189FBDA000B82441 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
@@ -33,7 +28,6 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
1AFB7F08189FBDA000B82441 /* Cocoa.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -44,7 +38,6 @@
isa = PBXGroup;
children = (
1AFB7F0D189FBDA000B82441 /* GmailNotifrHelper */,
1AFB7F06189FBDA000B82441 /* Frameworks */,
1AFB7F05189FBDA000B82441 /* Products */,
);
sourceTree = "<group>";
@@ -57,25 +50,6 @@
name = Products;
sourceTree = "<group>";
};
1AFB7F06189FBDA000B82441 /* Frameworks */ = {
isa = PBXGroup;
children = (
1AFB7F07189FBDA000B82441 /* Cocoa.framework */,
1AFB7F09189FBDA000B82441 /* Other Frameworks */,
);
name = Frameworks;
sourceTree = "<group>";
};
1AFB7F09189FBDA000B82441 /* Other Frameworks */ = {
isa = PBXGroup;
children = (
1AFB7F0A189FBDA000B82441 /* AppKit.framework */,
1AFB7F0B189FBDA000B82441 /* CoreData.framework */,
1AFB7F0C189FBDA000B82441 /* Foundation.framework */,
);
name = "Other Frameworks";
sourceTree = "<group>";
};
1AFB7F0D189FBDA000B82441 /* GmailNotifrHelper */ = {
isa = PBXGroup;
children = (
@@ -196,6 +170,7 @@
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
@@ -233,6 +208,7 @@
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
@@ -6,7 +6,7 @@
// Copyright (c) 2014 ashchan.com. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@import Cocoa;
@interface AppDelegate : NSObject <NSApplicationDelegate>
@@ -5,5 +5,5 @@
//
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
@import Cocoa;
#endif
@@ -6,7 +6,6 @@
// Copyright (c) 2014 ashchan.com. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "AppDelegate.h"
int main(int argc, const char * argv[])
View
@@ -7,17 +7,19 @@
//
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#endif
extern NSString *const PrefsToolbarItemAccounts;
extern NSString *const PrefsToolbarItemSettings;
extern NSString *const GNPreferencesSelection;
extern NSString *const GNShowUnreadCountChangedNotification;
extern NSString *const GNAccountAddedNotification;
extern NSString *const GNAccountRemovedNotification;
extern NSString *const GNAccountChangedNotification;
extern NSString *const GNAccountsReorderedNotification;
extern NSString *const GNCheckingAccountNotification;
extern NSString *const GNAccountMenuUpdateNotification;
extern NSString *const GNDefaultsKeyCheckAllShortcut;
@import Cocoa;
extern NSString *const PrefsToolbarItemAccounts;
extern NSString *const PrefsToolbarItemSettings;
extern NSString *const GNPreferencesSelection;
extern NSString *const GNShowUnreadCountChangedNotification;
extern NSString *const GNAccountAddedNotification;
extern NSString *const GNAccountRemovedNotification;
extern NSString *const GNAccountChangedNotification;
extern NSString *const GNAccountsReorderedNotification;
extern NSString *const GNCheckingAccountNotification;
extern NSString *const GNAccountMenuUpdateNotification;
extern NSString *const GNDefaultsKeyCheckAllShortcut;
#endif
@@ -11,7 +11,6 @@
1A8F667016B5817000396E44 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 1A8F666F16B5817000396E44 /* main.m */; };
1A8F66A516B5FBB400396E44 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1A8F66A316B5FBB400396E44 /* MainMenu.xib */; };
1AAB5C9618FFF04C0020A73E /* GNSecureTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 1AAB5C9518FFF04C0020A73E /* GNSecureTextField.m */; };
1AB7FD8116B578740040BBCE /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AB7FD8016B578740040BBCE /* Cocoa.framework */; };
1AB7FE3716B57B4E0040BBCE /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AB7FE3616B57B4E0040BBCE /* Security.framework */; };
1AB7FE3B16B57B630040BBCE /* AccountDetail.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1AB7FE3816B57B630040BBCE /* AccountDetail.xib */; };
1AB7FE3C16B57B630040BBCE /* PreferencesAccounts.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1AB7FE3916B57B630040BBCE /* PreferencesAccounts.xib */; };
@@ -72,10 +71,6 @@
1AAB5C9418FFF04C0020A73E /* GNSecureTextField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = GNSecureTextField.h; path = Classes/GNSecureTextField.h; sourceTree = "<group>"; };
1AAB5C9518FFF04C0020A73E /* GNSecureTextField.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = GNSecureTextField.m; path = Classes/GNSecureTextField.m; sourceTree = "<group>"; };
1AB7FD7C16B578740040BBCE /* Mail Notifr.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Mail Notifr.app"; sourceTree = BUILT_PRODUCTS_DIR; };
1AB7FD8016B578740040BBCE /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
1AB7FD8316B578740040BBCE /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
1AB7FD8416B578740040BBCE /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
1AB7FD8516B578740040BBCE /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
1AB7FDA116B57A270040BBCE /* GmailNotifr_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GmailNotifr_Prefix.pch; sourceTree = SOURCE_ROOT; };
1AB7FDA316B57A270040BBCE /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = SOURCE_ROOT; };
1AB7FE3616B57B4E0040BBCE /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; };
@@ -131,7 +126,6 @@
1AFCE88218D404E500487B98 /* Carbon.framework in Frameworks */,
1AFB7F4C189FC0EB00B82441 /* ServiceManagement.framework in Frameworks */,
1AB7FE3716B57B4E0040BBCE /* Security.framework in Frameworks */,
1AB7FD8116B578740040BBCE /* Cocoa.framework in Frameworks */,
57FAFF128FD0443D9B7C2B68 /* libPods.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -175,23 +169,11 @@
1AFCE88118D404E500487B98 /* Carbon.framework */,
1AFB7F4B189FC0EB00B82441 /* ServiceManagement.framework */,
1AB7FE3616B57B4E0040BBCE /* Security.framework */,
1AB7FD8016B578740040BBCE /* Cocoa.framework */,
1AB7FD8216B578740040BBCE /* Other Frameworks */,
CB4323DEE8514AE59A4FA9C9 /* libPods.a */,
);
name = Frameworks;
sourceTree = "<group>";
};
1AB7FD8216B578740040BBCE /* Other Frameworks */ = {
isa = PBXGroup;
children = (
1AB7FD8316B578740040BBCE /* AppKit.framework */,
1AB7FD8416B578740040BBCE /* CoreData.framework */,
1AB7FD8516B578740040BBCE /* Foundation.framework */,
);
name = "Other Frameworks";
sourceTree = "<group>";
};
1AB7FD8716B578740040BBCE /* Supporting Files */ = {
isa = PBXGroup;
children = (
@@ -501,6 +483,7 @@
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
@@ -530,6 +513,7 @@
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
@@ -551,6 +535,7 @@
baseConfigurationReference = 305081CBF585414684382940 /* Pods.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = "Gmail Notifr.entitlements";
CODE_SIGN_IDENTITY = "Mac Developer";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer";
@@ -571,6 +556,7 @@
baseConfigurationReference = 305081CBF585414684382940 /* Pods.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = "Gmail Notifr.entitlements";
CODE_SIGN_IDENTITY = "Mac Developer";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Mac Developer";
View
@@ -17,9 +17,9 @@ EXTERNAL SOURCES:
:podspec: Podspecs/StartAtLoginController.podspec
SPEC CHECKSUMS:
KASeparatorLine: 1f2d677504177084204b180f5bd15c271decd579
KASeparatorLine: 2beb11f7b70d589e4cf84f7c7a63eb99bd9676fe
MASShortcut: 576dcb235df82cfcb7be399c05f5881486d893c7
SSKeychain: 2fe90c92034129d9615a508529b601a520f297d1
SSKeychain: dc9746ffd1bde9dffca39b6c878cd61263e6e9a4
StartAtLoginController: e7e7b6ec15b90d548ee0acf390160eccd2539a8e
COCOAPODS: 0.29.0
COCOAPODS: 0.33.1
View
2 main.m
@@ -6,8 +6,6 @@
// Copyright ashchan.com 2010. All rights reserved.
//
#import <Cocoa/Cocoa.h>
int main(int argc, char *argv[])
{
return NSApplicationMain(argc, (const char **)argv);

0 comments on commit b0406c6

Please sign in to comment.