forked from NSGod/ichm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BookmarkController.h
40 lines (33 loc) · 1.06 KB
/
BookmarkController.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
34
35
36
37
38
39
40
//
// BookmarkController.h
// ichm
//
// Created by Robin Lu on 8/10/08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@class CHMFile;
@class CHMBookmark;
@class FetchRequestItem;
@interface BookmarkController : NSWindowController {
IBOutlet NSWindow* addPanel;
IBOutlet NSTextField* titleField;
IBOutlet NSTextField* tagField;
IBOutlet NSMenu *bookmarkMenu;
IBOutlet NSMenu *groupByFilesMenu;
IBOutlet NSMenu *groupByTagsMenu;
IBOutlet NSOutlineView *tocView;
IBOutlet NSPanel* managePanel;
IBOutlet NSArrayController* tableController;
NSManagedObjectModel *managedObjectModel;
NSManagedObjectContext *managedObjectContext;
FetchRequestItem* tocSource;
}
- (IBAction)showAddBookmark:(id)sender;
- (IBAction)endAddBookmark:(id)sender;
- (IBAction)openBookmark:(id)sender;
- (IBAction)filterBookmarks:(id)sender;
- (void)addBookmarkDidEnd:(NSWindow *)sheet returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo;
- (NSManagedObjectModel *)managedObjectModel;
- (NSManagedObjectContext *)managedObjectContext;
@end