#4376 Lion: Use popovers for per-torrent gear button

This commit is contained in:
Mitchell Livingston
2011-07-21 02:35:03 +00:00
parent a42d42bf59
commit b28c4fb6cc
4 changed files with 64 additions and 32 deletions

View File

@@ -24,9 +24,11 @@
#define QLPreviewPanelSL NSClassFromString(@"QLPreviewPanel")
#define NSRunningApplicationSL NSClassFromString(@"NSRunningApplication")
#define NSPopoverLion NSClassFromString(@"NSPopover")
@interface NSApplication (NSApplicationAdditions)
- (BOOL) isOnSnowLeopardOrBetter;
- (BOOL) isOnLionOrBetter;
@end