Commented and cleaned up the Atom feed parser.
[sparkle2.git] / Daemon / main.m
blob69d1a703a74efa81dc4c024054c120a784508c51
1 //
2 //  main.m
3 //  Sparkle
4 //
5 //  Created by Andy Matuschak on 8/10/07.
6 //  Copyright (c) 2007 Andy Matuschak. All rights reserved.
7 //
9 #import "SURegistry.h"
11 int main(int argc, const char *argv[])
13         NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
14         
15         NSObject *rootObject = [SURegistry sharedRegistry];
16         
17         NSConnection *conn = [[NSConnection defaultConnection] retain];
18         [conn setRootObject:rootObject];
19         [conn registerName:SUDaemonServiceName];
20         
21         [[NSRunLoop currentRunLoop] run];
22         
23         [pool release];
24         return 0;