//
//  Result.m
//  LostClient
//
//  Created by Webster Ross III on 4/2/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import "Result.h"

@implementation Result
@synthesize name, location, number, distanceKM, distanceMI, uri, coords, searchLocation, resultLocation, routeDistance;

- (id)init {
	if (self = [super init]) {
		self.name = [NSMutableString string];
		self.location = [NSMutableString string];
		self.number = [NSMutableString string];
		self.distanceKM = [NSMutableString string];
		self.distanceMI = [NSMutableString string];
		self.uri = [NSMutableString string];
		self.coords = [NSMutableString string];
		self.searchLocation = nil;
		self.resultLocation = nil;
		routeDistance = 0;
	}
	return self;	
}

- (void)dealloc {
	[location release];
	[name release];
	[number release];
	[distanceKM release];
	[distanceMI release];
	[uri release];
	[coords release];
	[searchLocation release];
	[resultLocation release];
    [super dealloc];
}

@end
