// // MPT_FaceFinderStub.m // // Created by Andrew Salamon on 9/25/06. // Copyright (c) 2006 Machine Perception Laboratory, // University of California San Diego. All rights reserved. // #import "MPT_FaceFinderStub.h" @implementation MPT_FaceFinderStub - (void)dealloc { [super dealloc]; } - (BOOL)loadLabels { NSString *labelFile = [[self bundle] pathForResource:@"face_finder_labels" ofType:@"plist"]; if( [labelFile length] > 0 ) labels = [[NSArray alloc] initWithContentsOfFile:labelFile]; else labels = [[NSArray alloc] init]; return ([labels count] > 0); } - (BOOL)enabled { return YES; } - (NSView *)prefPane { return nil; } - (NSString *)pluginID { return @"edu.ucsd.mplab.plugins.FaceFinderStub"; } - (NSString *)localizedName { return NSLocalizedStringFromTableInBundle(@"FaceFinder", nil, [NSBundle bundleForClass:[self class]], @""); } - (NSString *)internalName { return @"facefinder"; } - (NSString *)step { return MPT_PluginStep_NoStep; } - (BOOL)display { return NO; } @end