root/Trunk/Adium.framework/Versions/A/Headers/AIStatusIcons.h @ 2

Revision 2, 2.2 KB (checked in by jon, 16 years ago)

Initial commit of skeletal project.

Line 
1/*
2 * Adium is the legal property of its developers, whose names are listed in the copyright file included
3 * with this source distribution.
4 *
5 * This program is free software; you can redistribute it and/or modify it under the terms of the GNU
6 * General Public License as published by the Free Software Foundation; either version 2 of the License,
7 * or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
10 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
11 * Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License along with this program; if not,
14 * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
15 */
16
17#import <Adium/AIServiceIcons.h> //For AIIconDirection
18#import <Adium/AIStatusDefines.h> //For AIStatusType
19
20//Notifications
21#define AIStatusIconSetDidChangeNotification            @"AIStatusIconSetDidChangeNotification"
22#define AIStatusIconSetInvalidSetNotification           @"AIStatusIconSetInvalidSetNotification"
23
24@class AIListObject, AIChat;
25
26//Status icon type
27typedef enum {
28        AIStatusIconTab = 0,            //Tabs
29        AIStatusIconList,                       //Contact List
30        AIStatusIconMenu
31} AIStatusIconType;
32#define NUMBER_OF_STATUS_ICON_TYPES     3
33
34@interface AIStatusIcons : NSObject {
35
36}
37+ (NSImage *)statusIconForListObject:(AIListObject *)object type:(AIStatusIconType)iconType
38                                                   direction:(AIIconDirection)iconDirection;
39+ (NSImage *)statusIconForChat:(AIChat *)chat type:(AIStatusIconType)iconType
40                                         direction:(AIIconDirection)iconDirection;
41+ (NSImage *)statusIconForUnknownStatusWithIconType:(AIStatusIconType)iconType
42                                                                                  direction:(AIIconDirection)iconDirection;
43+ (NSImage *)statusIconForStatusName:(NSString *)statusName
44                                                  statusType:(AIStatusType)statusType
45                                                        iconType:(AIStatusIconType)iconType
46                                                   direction:(AIIconDirection)iconDirection;
47+ (BOOL)setActiveStatusIconsFromPath:(NSString *)inPath;
48+ (NSImage *)previewMenuImageForIconPackAtPath:(NSString *)inPath;
49
50+ (NSString *)statusNameForListObject:(AIListObject *)listObject;
51@end
Note: See TracBrowser for help on using the browser.