arq_restore/repo/CommitFailedFile.h
2014-07-28 14:20:07 -04:00

21 lines
567 B
Objective-C

//
// CommitFailedFile.h
//
// Created by Stefan Reitshamer on 2/22/10.
// Copyright 2010 Haystack Software. All rights reserved.
//
@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