khenid

Untitled

Mar 21st, 2015
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #import <UIKit/UIKit.h>
  2. #import "AppDelegate.h"
  3. #import "Globals.h"
  4.  
  5. #import "StationObject.h"
  6. #import "MetarObject.h"
  7. #import "TFRObject.h"
  8. #import "TAFObject.h"
  9. #import "TAFSegmentObject.h"
  10. #import "AirmetObject.h"
  11. #import "AirmetSegmentObject.h"
  12.  
  13. @protocol GraphicViewDelegate <NSObject>
  14.  
  15. -(void)metarTouchedWithMetar:(MetarObject *)thisMetar;
  16. -(void)tafTouchedWithTAF:(TAFObject *)thisTAF;
  17.  
  18. -(void)metarDataToggleTouched;
  19.  
  20. @end
  21.  
  22. @interface GraphicView : UIView{
  23.     // delegates
  24.     AppDelegate *appDelegate;
  25.     id<GraphicViewDelegate> myDelegate;
  26.    
  27.     // vars
  28.     StationObject *thisStation;
  29.     UIColor *graphicBackgroundColor;
  30.     float baseRadius;
  31.     MetarObject *metarObject;
  32.     TFRObject *tfrObject;
  33.     TAFObject *tafObject;
  34.     AirmetObject *airmetObject;
  35. }
  36.  
  37. @property(nonatomic, assign) id<GraphicViewDelegate> myDelegate;
  38.  
  39. @property (nonatomic, strong) StationObject *thisStation;
  40. @property (nonatomic, strong) UIColor *graphicBackgroundColor;
  41. @property (nonatomic, assign) float baseRadius;
  42. @property (nonatomic, strong) MetarObject *metarObject;
  43. @property (nonatomic, strong) TFRObject *tfrObject;
  44. @property (nonatomic, strong) TAFObject *tafObject;
  45. @property (nonatomic, strong) AirmetObject *airmetObject;
  46.  
  47. #pragma mark Public Functions
  48.  
  49. -(void)updateView;
  50.  
  51. @end
Advertisement
Add Comment
Please, Sign In to add comment