5 // Created by Evan Schoenberg on 7/6/06.
8 #import "AIApplication.h"
9 #import <Adium/AIObject.h>
10 #import <Adium/AIDockControllerProtocol.h>
11 #import <Adium/AIAdiumProtocol.h>
13 @implementation AIApplication
15 * @brief Intercept applicationIconImage so we can return a base application icon
17 * The base application icon doesn't have any badges, labels, or animation states.
19 - (NSImage *)applicationIconImage
21 NSImage *applicationIconImage = [[[AIObject sharedAdiumInstance] dockController] baseApplicationIconImage];
23 return (applicationIconImage ? applicationIconImage : [super applicationIconImage]);
26 - (NSObject<AIAdium> *)adium
28 return [AIObject sharedAdiumInstance];