mirror of
https://github.com/samsonjs/arq_restore.git
synced 2026-03-25 09:25:53 +00:00
22 lines
598 B
Objective-C
22 lines
598 B
Objective-C
//
|
|
// CommitFailedFile.h
|
|
// Arq
|
|
//
|
|
// Created by Stefan Reitshamer on 2/22/10.
|
|
// Copyright 2010 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
@class BufferedInputStream;
|
|
|
|
@interface CommitFailedFile : NSObject {
|
|
NSString *path;
|
|
NSString *errorMessage;
|
|
}
|
|
- (id)initWithPath:(NSString *)thePath errorMessage:(NSString *)theErrorMessage;
|
|
- (id)initWithInputStream:(BufferedInputStream *)is error:(NSError **)error;
|
|
- (NSString *)path;
|
|
- (NSString *)errorMessage;
|
|
- (void)writeTo:(NSMutableData *)data;
|
|
- (BOOL)isEqualToCommitFailedFile:(CommitFailedFile *)cff;
|
|
@end
|