aboutsummaryrefslogtreecommitdiffstats
path: root/Source/NSNotificationCenterThreadingAdditions.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-03-18 20:05:36 +0000
committerstuconnolly <stuart02@gmail.com>2012-03-18 20:05:36 +0000
commit524e8c356b4074f5be5933b0551374a130a8f6d1 (patch)
tree0dab40735f2d9484930050cd08376cbf15e4ea55 /Source/NSNotificationCenterThreadingAdditions.h
parentbe3263f8158cb6f3dfa1005f49beefa7e494b852 (diff)
downloadsequelpro-524e8c356b4074f5be5933b0551374a130a8f6d1.tar.gz
sequelpro-524e8c356b4074f5be5933b0551374a130a8f6d1.tar.bz2
sequelpro-524e8c356b4074f5be5933b0551374a130a8f6d1.zip
Bring outline view branch up to date with trunk (r3471:r3517).
Diffstat (limited to 'Source/NSNotificationCenterThreadingAdditions.h')
-rw-r--r--Source/NSNotificationCenterThreadingAdditions.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/Source/NSNotificationCenterThreadingAdditions.h b/Source/NSNotificationCenterThreadingAdditions.h
new file mode 100644
index 00000000..b71ad17f
--- /dev/null
+++ b/Source/NSNotificationCenterThreadingAdditions.h
@@ -0,0 +1,18 @@
+//
+// $Id$
+//
+// NSNotificationCenterThreadingAdditions.h
+// Enable NSNotification being sent from threads
+//
+// Copied from the TCMPortMapper project; original code available on
+// Google Code at <http://code.google.com/p/tcmportmapper/source/browse/TCMPortMapper/framework/NSNotificationCenterThreadingAdditions.h>
+//
+// Copyright (c) 2007-2008 TheCodingMonkeys:
+// Martin Pittenauer, Dominik Wagner, <http://codingmonkeys.de>
+// Some rights reserved: <http://opensource.org/licenses/mit-license.php>
+//
+
+@interface NSNotificationCenter (NSNotificationCenterThreadingAdditions)
+- (void)postNotificationOnMainThread:(NSNotification *)aNotification;
+- (void)postNotificationOnMainThreadWithName:(NSString *)aName object:(id)anObject;
+@end