Mercurial > osx-quasimode
comparison TestQuasimodalEventTap.m @ 20:58522f82a39e
Brought back the notification center code to QuasimodalEventTap, we can just use the in-process one instead of setting up some complicated observer protocol.
author | Atul Varma <avarma@mozilla.com> |
---|---|
date | Mon, 12 Apr 2010 00:15:06 -0700 |
parents | 8053681846ad |
children | cdc615772d43 |
comparison
equal
deleted
inserted
replaced
19:8053681846ad | 20:58522f82a39e |
---|---|
4 | 4 |
5 int main(int argc, const char *argv[] ) | 5 int main(int argc, const char *argv[] ) |
6 { | 6 { |
7 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; | 7 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; |
8 | 8 |
9 QuasimodalEventTap *eventTap = [[QuasimodalEventTap alloc] init]; | 9 QuasimodalEventTap *eventTap = [[QuasimodalEventTap alloc] |
10 initWithName: @"test"]; | |
10 | 11 |
11 CFRunLoopRun(); | 12 CFRunLoopRun(); |
12 | 13 |
13 [pool release]; | 14 [pool release]; |
14 | 15 |