mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-11-16 20:29:02 +00:00
11 lines
678 B
Objective-C
11 lines
678 B
Objective-C
// from http://www.cocoadev.com/index.pl?NotificationsAcrossThreads
|
|
#import <Cocoa/Cocoa.h>
|
|
@interface NSNotificationCenter (NSNotificationCenterAdditions)
|
|
- (void) postNotificationOnMainThread:(NSNotification *) notification;
|
|
- (void) postNotificationOnMainThread:(NSNotification *) notification waitUntilDone:(BOOL) wait;
|
|
|
|
- (void) postNotificationOnMainThreadWithName:(NSString *) name object:(id) object;
|
|
- (void) postNotificationOnMainThreadWithName:(NSString *) name object:(id) object userInfo:(NSDictionary *) userInfo;
|
|
- (void) postNotificationOnMainThreadWithName:(NSString *) name object:(id) object userInfo:(NSDictionary *) userInfo waitUntilDone:(BOOL) wait;
|
|
@end
|