Refactored Notification setup to use only the document as object

This commit is contained in:
michael starke
2014-02-25 22:49:41 +01:00
parent 21f299bdff
commit f6dc2193de
10 changed files with 36 additions and 26 deletions

View File

@@ -12,7 +12,7 @@ APPKIT_EXTERN NSString *const MPOutlineViewDidChangeGroupSelection;
@class MPOutlineViewDelegate;
@class HNHGradientView;
@class MPDocumentWindowController;
@class MPDocument;
@interface MPOutlineViewController : MPViewController <NSOutlineViewDelegate, NSMenuDelegate>
@@ -21,7 +21,7 @@ APPKIT_EXTERN NSString *const MPOutlineViewDidChangeGroupSelection;
- (void)clearSelection;
- (void)showOutline;
- (void)setupNotifications:(MPDocumentWindowController *)windowController;
- (void)regsiterNotificationsForDocument:(MPDocument *)document;
- (void)createGroup:(id)sender;
- (void)createEntry:(id)sender;