]> git.mxchange.org Git - flightgear.git/blob - src/Airports/apt_loader.hxx
TACAN/mobile navaid cleanup and improvements.
[flightgear.git] / src / Airports / apt_loader.hxx
1 // apt_loader.hxx -- a front end loader of the apt.dat file.  This loader
2 //                   populates the runway and basic classes.
3 //
4 // Written by Curtis Olson, started December 2004.
5 //
6 // Copyright (C) 2004  Curtis L. Olson  - http://www.flightgear.org/~curt
7 //
8 // This program is free software; you can redistribute it and/or
9 // modify it under the terms of the GNU General Public License as
10 // published by the Free Software Foundation; either version 2 of the
11 // License, or (at your option) any later version.
12 //
13 // This program is distributed in the hope that it will be useful, but
14 // WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 // General Public License for more details.
17 //
18 // You should have received a copy of the GNU General Public License
19 // along with this program; if not, write to the Free Software
20 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
21 //
22 // $Id$
23
24
25 #ifndef _FG_APT_LOADER_HXX
26 #define _FG_APT_LOADER_HXX
27
28 #include <simgear/compiler.h>
29
30 class SGPath;
31
32 namespace flightgear
33 {
34   
35 // Load the airport data base from the specified aptdb file.  The
36 // metar file is used to mark the airports as having metar available
37 // or not.
38
39 bool airportDBLoad(const SGPath& path);
40
41 bool metarDataLoad(const SGPath& path);
42
43 } // of namespace flighgear
44
45 #endif // _FG_APT_LOADER_HXX