Created
November 1, 2010 21:08
-
-
Save michaelschade/658867 to your computer and use it in GitHub Desktop.
The main.m for accentuateus-osx-service as described on http://mschade.me/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "Services.h" | |
int main(int argc, char *argv[]) { | |
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; | |
Services *service = [[Services alloc] init]; | |
NSRegisterServicesProvider(service, @"AccentuateUsService"); | |
NS_DURING [[NSRunLoop currentRunLoop] run]; | |
NS_HANDLER | |
NS_ENDHANDLER | |
[service release]; | |
[pool release]; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment