Move mac-ui into src/

This commit is contained in:
Adam Ierymenko
2015-05-08 12:35:41 -07:00
parent a40192a40b
commit 8594e17f2b
63 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
#import "Dock.h"
@implementation Dock
@synthesize badge;
- (void) setBadge:(NSString *)value
{
NSDockTile *tile = [[NSApplication sharedApplication] dockTile];
[tile setBadgeLabel:value];
}
- (NSString *) badge
{
NSDockTile *tile = [[NSApplication sharedApplication] dockTile];
return [tile badgeLabel];
}
#pragma mark WebScripting Protocol
+ (BOOL) isSelectorExcludedFromWebScript:(SEL)selector
{
return NO;
}
+ (BOOL) isKeyExcludedFromWebScript:(const char*)name
{
return NO;
}
@end