Revision 2, 1.2 KB
(checked in by jon, 16 years ago)
|
Initial commit of skeletal project.
|
Line | |
---|
1 | // |
---|
2 | // AIStatusGroup.h |
---|
3 | // Adium |
---|
4 | // |
---|
5 | // Created by Evan Schoenberg on 11/23/05. |
---|
6 | // |
---|
7 | |
---|
8 | #import <Adium/AIStatusItem.h> |
---|
9 | |
---|
10 | @class AIStatus; |
---|
11 | |
---|
12 | @interface AIStatusGroup : AIStatusItem { |
---|
13 | NSMutableArray *containedStatusItems; |
---|
14 | NSMutableSet *_flatStatusSet; |
---|
15 | NSMutableArray *_sortedContainedStatusItems; |
---|
16 | |
---|
17 | int delaySavingAndNotification; |
---|
18 | } |
---|
19 | |
---|
20 | + (id)statusGroup; |
---|
21 | + (id)statusGroupWithContainedStatusItems:(NSArray *)inContainedObjects; |
---|
22 | |
---|
23 | - (void)setContainedStatusItems:(NSArray *)inContainedStatusItems; |
---|
24 | |
---|
25 | - (void)addStatusItem:(AIStatusItem *)inStatusItem atIndex:(int)index; |
---|
26 | - (void)removeStatusItem:(AIStatusItem *)inStatusItem; |
---|
27 | - (int)moveStatusItem:(AIStatusItem *)statusState toIndex:(int)destIndex; |
---|
28 | - (void)replaceExistingStatusState:(AIStatus *)oldStatusState withStatusState:(AIStatus *)newStatusState; |
---|
29 | |
---|
30 | - (NSArray *)containedStatusItems; |
---|
31 | - (AIStatus *)anyContainedStatus; |
---|
32 | - (NSSet *)flatStatusSet; |
---|
33 | - (NSMenu *)statusSubmenuNotifyingTarget:(id)target action:(SEL)selector; |
---|
34 | |
---|
35 | - (void)setDelaySavingAndNotification:(BOOL)inShouldDelay; |
---|
36 | - (BOOL)enclosesStatusState:(AIStatus *)inStatusState; |
---|
37 | - (BOOL)enclosesStatusStateInSet:(NSSet *)inSet; |
---|
38 | |
---|
39 | + (void)sortArrayOfStatusItems:(NSMutableArray *)inArray context:(void *)context; |
---|
40 | |
---|
41 | @end |
---|