//
//  HistoryViewController.h
//  DrivoMeter
//
//  Created by Mobi on 1/3/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
#import "SelectPeriodViewController.h"

@class Database;
@class Period;
@interface HistoryViewController : UITableViewController <UITableViewDelegate, NSFetchedResultsControllerDelegate, selectPeriodDelegate> {
  
  NSFetchedResultsController *tripsFetchedResultsController_;
  Database *database_;
  Period *currentPeriod_;
}

@property (nonatomic, strong) NSFetchedResultsController *tripsFetchedResultsController;
@property (nonatomic, strong) Database *database;
@property (nonatomic, strong) Period *currentPeriod;

@end
