mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-26 13:37:03 +00:00
XcodeCapp 4.0 is a major release of our beloved tool. In a nutshell it: - allows to manage multiple projects simultaneously - allows to follow operations and cancel them - has a per project Error and Warning reporting - supports capp_env as you can define additional paths and objj include path per project - much more things
59 lines
2.1 KiB
Objective-C
59 lines
2.1 KiB
Objective-C
//
|
|
// CappuccinoProjectController.h
|
|
// XcodeCapp
|
|
//
|
|
// Created by Alexandre Wilhelm on 5/7/15.
|
|
// Copyright (c) 2015 cappuccino-project. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@class XCCAbstractOperation;
|
|
@class XCCCappuccinoProject;
|
|
@class XCCTaskLauncher;
|
|
@class XCCMainController;
|
|
@class XCCPPXOperation;
|
|
@class XCCSourcesFinderOperation;
|
|
|
|
|
|
@interface XCCCappuccinoProjectController : NSObject
|
|
{
|
|
BOOL isListeningToOperationNotifications;
|
|
XCCTaskLauncher *taskLauncher;
|
|
NSOperationQueue *operationQueue;
|
|
FSEventStreamRef stream;
|
|
NSMutableDictionary *sourceProcessingOperations;
|
|
XCCPPXOperation *pendingPBXOperation;
|
|
XCCSourcesFinderOperation *currentFindSourceOperation;
|
|
}
|
|
|
|
@property CGFloat operationsProgress;
|
|
@property NSInteger numberOfErrors;
|
|
@property NSInteger operationsTotal;
|
|
@property NSMutableDictionary *errors;
|
|
@property NSInteger operationsRemaining;
|
|
@property NSString *operationsRemainingString;
|
|
@property NSString *errorsCountString;
|
|
@property XCCCappuccinoProject *cappuccinoProject;
|
|
@property XCCMainController *mainXcodeCappController;
|
|
|
|
- (instancetype)initWithPath:(NSString*)aPath controller:(id)aController;
|
|
- (void)reinitializeProjectFromSettings;
|
|
- (void)applicationIsClosing;
|
|
- (void)cleanUpBeforeDeletion;
|
|
- (void)operationDidStart:(XCCAbstractOperation*)anOperation type:(NSString*)aType userInfo:(NSDictionary*)userInfo;
|
|
- (void)operationDidEnd:(XCCAbstractOperation*)anOperation type:(NSString*)aType userInfo:(NSDictionary*)userInfo;
|
|
- (void)launchEditorForPath:(NSString*)path line:(NSInteger)line;
|
|
- (void)removeAllOperationErrors;
|
|
@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSArray *projectRelatedOperations;
|
|
;
|
|
- (IBAction)cancelAllOperations:(id)aSender;
|
|
- (IBAction)resetProject:(id)aSender;
|
|
- (IBAction)openProjectInXcode:(id)sender;
|
|
- (IBAction)openProjectInFinder:(id)sender;
|
|
- (IBAction)openProjectInEditor:(id)sender;
|
|
- (IBAction)openProjectInTerminal:(id)sender;
|
|
- (IBAction)switchProjectListeningStatus:(id)sender;
|
|
|
|
@end
|