//
//  SelectPeriodViewController.h
//  DrivoMeter
//
//  Created by Triin Uudam on 4/16/12.
//  Copyright (c) 2012 Mobi Solutions OÜ. All rights reserved.
//

#import <UIKit/UIKit.h>

@class Period;
@class HistoryViewController;

@protocol selectPeriodDelegate <NSObject>

- (void)updatePeriodTo:(Period *)newPeriod;

@end
@interface SelectPeriodViewController : UITableViewController {
  NSArray *historyPeriodArray_;
  Period *selectedPeriod_;
  id <selectPeriodDelegate> delegate_;
}

@property (nonatomic, strong) NSArray *historyPeriodArray;
@property (nonatomic, strong) Period *selectedPeriod;
@property (nonatomic) id<selectPeriodDelegate> delegate;

@end
