//
//  MCReportStandardReportsList.h
//  MCReporting
//
//  Created by Alykhan Jetha on 13/05/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

/*
 This is view that contains an outlineview to show available reports. Posts a notification when a report is selected.
 
 
 
 */


#import <MCApplication/MCNibLoadingView.h>

@class MCReportWrapper;

@interface MCReportStandardReportsList : MCNibLoadingView {
	IBOutlet NSOutlineView *outlineView;

	MCReportWrapper *selectedReport;
	NSArray *reportWrappers;

	NSMutableArray *expandedItems;
	

}

- (void)loadTemplates;

- (NSArray *)reportWrappers;
- (void)setReportWrappers:(NSArray *)aReportWrappers;
- (MCReportWrapper *)lastReportWithUserInput;

- (MCReportWrapper *)selectedReport;
- (void)setSelectedReport:(MCReportWrapper *)aSelectedReport;

- (NSMutableArray *)expandedItems;
- (void)setExpandedItems:(NSMutableArray *)anExpandedItems;

- (IBAction)editReport:(id)sender;
- (IBAction)reloadTemplates:(id)sender;


@end
