//
//  HR_WorkLoadAppDelegate.m
//  HR-WorkLoad
//
//  Created by Julian on 1/22/10.
//  Copyright 2010 Julian Yu-Chung Chen. All rights reserved.
//

#import "HR_WorkLoadAppDelegate.h"

@implementation HR_WorkLoadAppDelegate

@synthesize window;
@synthesize controller;

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
	// Insert code here to initialize your application 
}

	// Delegate method to "Open Recent" calls
- (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filename
{
	NSURL *url = [[NSURL alloc] initFileURLWithPath:filename];
	[controller loadCSVFrom:url];
	[url release];
		// return YES: leave the filename in recent list.
		// return NO:  remove from the recent list.
	return YES;
}
@end
