2009-08-05 08:59:46 +00:00
|
|
|
/*
|
2011-04-12 08:04:01 +00:00
|
|
|
Copyright 2011 Hardcoded Software (http://www.hardcoded.net)
|
2009-08-05 08:59:46 +00:00
|
|
|
|
2010-09-30 10:17:41 +00:00
|
|
|
This software is licensed under the "BSD" License as described in the "LICENSE" file,
|
2009-08-05 08:59:46 +00:00
|
|
|
which should be included with this package. The terms are also available at
|
2010-09-30 10:17:41 +00:00
|
|
|
http://www.hardcoded.net/licenses/bsd_license
|
2009-08-05 08:59:46 +00:00
|
|
|
*/
|
2009-06-01 09:55:11 +00:00
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
2010-02-05 19:10:54 +00:00
|
|
|
#import "Utils.h"
|
2009-06-01 09:55:11 +00:00
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
2010-02-05 19:10:54 +00:00
|
|
|
[Utils setPluginName:@"dg_cocoa"];
|
2009-06-01 09:55:11 +00:00
|
|
|
NSString *pluginPath = [[NSBundle mainBundle]
|
|
|
|
pathForResource:@"dg_cocoa"
|
|
|
|
ofType:@"plugin"];
|
|
|
|
NSBundle *pluginBundle = [NSBundle bundleWithPath:pluginPath];
|
|
|
|
[pluginBundle load];
|
|
|
|
[pool release];
|
|
|
|
return NSApplicationMain(argc, (const char **) argv);
|
|
|
|
}
|