//
//  ZIA_Gallery_MakerAppDelegate.m
//  ZIA Gallery Maker
//
//  Created by Frank Mcpherson on 11/15/09.
//  Copyright 2009 bitdoctors.com. All rights reserved.
//

#import "ZIA_Gallery_MakerAppDelegate.h"

@implementation ZIA_Gallery_MakerAppDelegate

@synthesize window;
@synthesize browserZoom;

- (NSString *)applicationSupportFolder {
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSApplicationSupportDirectory, NSUserDomainMask, YES);
    NSString *basePath = ([paths count] > 0) ? [paths objectAtIndex:0] : NSTemporaryDirectory();
    return [basePath stringByAppendingPathComponent:@"ZIAGalleryMaker"];
}


- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication {
    return YES;
}


- (void)dealloc {
    [super dealloc];
}


- (void)awakeFromNib {
    self.browserZoom = [NSNumber numberWithFloat:.5];
}

@end
