mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-10-30 05:15:57 +00:00
11 lines
678 B
C
11 lines
678 B
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
|