Plugins/Purple Service/ESSimpleService.m
changeset 2743 df2c24e3844c
parent 717 6d91840f8298
child 3679 f4294bb53b0f
     1.1 --- a/Plugins/Purple Service/ESSimpleService.m	Thu Jan 29 02:07:02 2009 +0000
     1.2 +++ b/Plugins/Purple Service/ESSimpleService.m	Sat Oct 17 17:35:57 2009 -0400
     1.3 @@ -83,4 +83,17 @@
     1.4  	return [NSImage imageNamed:@"simple" forClass:[self class] loadLazily:YES];
     1.5  }
     1.6  
     1.7 +/*!
     1.8 + * @brief Path for default icon
     1.9 + *
    1.10 + * For use in message views, this is the path to a default icon as described above.
    1.11 + *
    1.12 + * @param iconType The AIServiceIconType of the icon to return.
    1.13 + * @return The path to the image, otherwise nil.
    1.14 + */
    1.15 +- (NSString *)pathForDefaultServiceIconOfType:(AIServiceIconType)iconType
    1.16 +{
    1.17 +	return [[NSBundle bundleForClass:[self class]] pathForImageResource:@"simple"];		
    1.18 +}
    1.19 +
    1.20  @end