forked from NSGod/ichm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCHMFile.h
34 lines (25 loc) · 825 Bytes
/
CHMFile.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
// CHMFile.h
// ichm
//
// Created by Robin Lu on 8/10/08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#import <CoreData/CoreData.h>
@class CHMBookmark;
@interface CHMFile : NSManagedObject {
}
@property (retain) NSString * path;
@property (retain) NSString * title;
@property (retain) NSSet* bookmarks;
@property (retain) NSNumber * isValid;
+ (CHMFile *)fileByPath:(NSString*)path withContext:(NSManagedObjectContext*)context;
+ (NSArray*)allFileswithContext:(NSManagedObjectContext*)context;
+ (void)purgeWithContext:(NSManagedObjectContext*)context;
@end
@interface CHMFile (CoreDataGeneratedAccessors)
- (void)addBookmarksObject:(CHMBookmark *)value;
- (void)removeBookmarksObject:(CHMBookmark *)value;
- (void)addBookmarks:(NSSet *)value;
- (void)removeBookmarks:(NSSet *)value;
@end