root/Trunk/AIUtilities.framework/Versions/A/Headers/AIDividedAlternatingRowOutlineView.h @ 2

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

Initial commit of skeletal project.

Line 
1/*-------------------------------------------------------------------------------------------------------*\
2| Adium, Copyright (C) 2001-2007, Christopher Harms  (Chris.Harms@gmail.com)                              |
3\---------------------------------------------------------------------------------------------------------/
4 | This program is free software; you can redistribute it and/or modify it under the terms of the GNU
5 | General Public License as published by the Free Software Foundation; either version 2 of the License,
6 | or (at your option) any later version.
7 |
8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
9 | the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
10 | Public License for more details.
11 |
12 | You should have received a copy of the GNU General Public License along with this program; if not,
13 | write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
14 \------------------------------------------------------------------------------------------------------ */
15
16#import <Cocoa/Cocoa.h>
17#import <AIUtilities/AIAlternatingRowOutlineView.h>
18
19/*!
20 * @brief Enumeration for different divider-positions
21 */
22typedef enum {
23        AIDividerPositionNone = 0,
24        AIDividerPositionBelow,
25        AIDividerPositionIsDivider,
26        AIDividerPositionAbove
27} AIDividerPosition;
28
29/*!
30 * @class AIDividedAlternatingRowOutlineView
31 * @brief An AIAlternatingRowOutlineView subclass supporting a divider below specified elements
32 */
33@interface AIDividedAlternatingRowOutlineView : AIAlternatingRowOutlineView {
34
35}
36@end
37
38/*!
39 * @protocol AIDividedAlternatingRowOutlineView_Delegate
40 * @brief Informal protocol for implementing a message to verify if an item is supposed to have a divider
41 *
42 */
43@interface NSObject (AIDividedAlternatingRowOutlineView_Delegate)
44- (AIDividerPosition)outlineView:(NSOutlineView*)outlineView dividerPositionForItem:(id)item;
45@end
Note: See TracBrowser for help on using the browser.