// // DateTimePickerDelegate.h // rhorunner // // Created by lars on 8/11/09. // Copyright 2009 Home. All rights reserved. // #import #import #import "RhoDelegate.h" #import "DateTime.h" @interface DateTimePickerDelegate : RhoDelegate { @private UIDatePicker *pickerView; UIWindow *mainWindow; UIToolbar *toolbar; UILabel *barLabel; DateTime *dateTime; NSDateFormatter *dateFormatter; } @property (nonatomic, retain) DateTime *dateTime; @property (nonatomic, retain) UIDatePicker *pickerView; @property (nonatomic, retain) UIWindow *mainWindow; @property (nonatomic, retain) UIToolbar *toolbar; @property (nonatomic, retain) UILabel *barLabel; @property (nonatomic, retain) NSDateFormatter *dateFormatter; - (IBAction)dateAction:(id)sender; - (IBAction)cancelAction:(id)sender; - (void)createPicker:(UIWindow*)window; @end