//
//  AddFavoriteViewController.h
//  DrivoMeter
//
//  Created by Triin Uudam on 5/1/12.
//  Copyright (c) 2012 Mobi Solutions OÜ. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CustomSegmentControl.h"

@class Database;
@interface AddFavoriteViewController : UITableViewController <UITextFieldDelegate> {
  
  UITableViewCell *distanceCell_;
  UIView *headerView_;
  UILabel *distancelLabel_;
  UITextField *distanceField_;
  UITextField *odometerField_;
  CustomSegmentedControl *segmentedControl_;
  Database *database_;
  BOOL isBusiness_;
  UITextField *purposeField_;
  UITableViewCell *purposeCell_;
  UILabel *purposeLabel_;
}

@property (nonatomic, strong) IBOutlet UITableViewCell *distanceCell;
@property (nonatomic, strong) IBOutlet UIView *headerView;
@property (nonatomic, strong) IBOutlet UILabel *distanceLabel;
@property (nonatomic, strong) IBOutlet UITextField *distanceField;
@property (nonatomic, strong) CustomSegmentedControl *segmentedControl;
@property (nonatomic, strong) Database *database;
@property (nonatomic) BOOL isBusiness;
@property (nonatomic, strong) IBOutlet UITextField *purposeField;
@property (nonatomic, strong) IBOutlet UITableViewCell *purposeCell;
@property (nonatomic, strong) IBOutlet UILabel *purposeLabel;

@end
