Mercurial > osx-quasimode
view 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 |
line wrap: on
line source
#import <Foundation/NSAutoreleasePool.h> #import "QuasimodalEventTap.h" int main(int argc, const char *argv[] ) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; QuasimodalEventTap *eventTap = [[QuasimodalEventTap alloc] initWithName: @"test"]; CFRunLoopRun(); [pool release]; return 0; }