33 lines
1017 B
Objective-C
33 lines
1017 B
Objective-C
//
|
|
// NavDataParser.h
|
|
// FMC Planner 2
|
|
//
|
|
// Created by Kilian Hofmann on 13.04.16.
|
|
// Copyright © 2016 Kilian Hofmann. All rights reserved.
|
|
//
|
|
|
|
#import "SharedDeclerations.h"
|
|
#import <Foundation/Foundation.h>
|
|
#include <stdio.h>
|
|
|
|
@interface NavDataParser : NSObject
|
|
|
|
@property (strong, nonatomic) NSMutableDictionary *intersections;
|
|
@property (strong, nonatomic) NSMutableDictionary *navaids;
|
|
@property (strong, nonatomic) NSMutableDictionary *airways;
|
|
@property (nonatomic) BOOL parserReady;
|
|
@property (nonatomic) BOOL notActive;
|
|
|
|
#pragma mark - init
|
|
- (instancetype)initWithHandler:(void (^)(void))handler;
|
|
|
|
#pragma mark - Search for elements in normal route entry
|
|
|
|
- (NSArray *)findWaypoint:(NSString *)waypoint;
|
|
- (NSArray *)findWaypoint:(NSString *)waypoint onAirway:(NSString *)airway;
|
|
- (NSArray *)findAirway:(NSString *)airway;
|
|
- (NSArray *)findCrosspointBetween:(NSString *)airwayOne
|
|
and:(NSString *)airwayTwo
|
|
withStart:(NSString *)waypoint;
|
|
|
|
@end |