Files
cappuccino/Tools/XcodeCapp/XcodeCapp/XCCOperationError.h
T
Antoine Mercadal 47611b7615 NEW: XcodeCapp 4.0
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
2015-08-04 10:35:23 -07:00

35 lines
939 B
Objective-C

//
// OperationError.h
// XcodeCapp
//
// Created by Alexandre Wilhelm on 5/21/15.
// Copyright (c) 2015 cappuccino-project. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, XCCOperationErrorType)
{
XCCDefaultOperationErrorType,
XCCCappLintOperationErrorType,
XCCObjjOperationErrorType,
XCCObjj2ObjcSkeletonOperationErrorType,
XCCNib2CibOperationErrorType
};
@interface XCCOperationError : NSObject
@property (copy) NSString *fileName;
@property (copy) NSString *message;
@property (copy) NSString *command;
@property (copy) NSString *lineNumber;
@property int errorType;
+ (NSArray *)operationErrorsFromObjj2ObjcSkeletonInfo:(NSDictionary*)info;
+ (NSArray *)operationErrorsFromObjjInfo:(NSDictionary*)info;
+ (NSArray *)operationErrorsFromCappLintInfo:(NSDictionary *)info;
+ (XCCOperationError *)operationErrorFromNib2CibInfo:(NSDictionary*)info;
@end