mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-11-14 03:29:02 +00:00
e9a97afdf8
--HG-- extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%402
22 lines
604 B
Objective-C
22 lines
604 B
Objective-C
//
|
|
// main.m
|
|
// dupeguru
|
|
//
|
|
// Created by Virgil Dupras on 2006/02/01.
|
|
// Copyright __MyCompanyName__ 2006. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
|
NSString *pluginPath = [[NSBundle mainBundle]
|
|
pathForResource:@"dg_cocoa"
|
|
ofType:@"plugin"];
|
|
NSBundle *pluginBundle = [NSBundle bundleWithPath:pluginPath];
|
|
[pluginBundle load];
|
|
[pool release];
|
|
return NSApplicationMain(argc, (const char **) argv);
|
|
}
|