//
//  LCDetailsView.h
//  LCToolkit
//
//  Created by Logan Collins on 8/1/08.
//  Copyright 2010 Logan Collins. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@class LCDetailsViewItem;


/* LCDetailsView is an accordion-style layout of detail views
 * The view owns a set of items that define each subsection
 */
@interface LCDetailsView : NSView {
@private
	NSMutableArray *items;
}

@property (copy) NSArray *items;

- (void)addItem:(LCDetailsViewItem *)item;
- (void)insertItem:(LCDetailsViewItem *)item atIndex:(NSUInteger)index;
- (void)removeItem:(LCDetailsViewItem *)item;
- (void)removeItemAtIndex:(NSUInteger)index;
- (LCDetailsViewItem *)itemAtIndex:(NSUInteger)index;

@end
