Skip to content

Commit

Permalink
add methods to header file
Browse files Browse the repository at this point in the history
  • Loading branch information
alanhamlett committed Apr 7, 2015
1 parent 752d439 commit 426cbcf
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions NSWindow+KKSwizzle.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,18 @@

@interface NSWindow (KKSwizzle)

+ (void) load;

// called when the user switches tabs (or load files)
- (void)xxx_setRepresentedFilename:(NSString*)aPath;

// called when a window is focused
- (void)xxx_becomeMainWindow;

// called when a key is pressed
- (void)xxx_sendEvent:(NSEvent *)event;

// called when a document change state (e.g. when saved to disk)
- (void)xxx_setDocumentEdited:(BOOL)flag;

@end

0 comments on commit 426cbcf

Please sign in to comment.