]> git.mxchange.org Git - flightgear.git/blob - src/Airports/gensimple.cxx
Upgraded to handle new default.apt.gz file.
[flightgear.git] / src / Airports / gensimple.cxx
1 // dump out a gdbm version of the simple airport file
2
3 #include <simgear/debug/logstream.hxx>
4
5 #include "simple.hxx"
6
7 int main( int argc, char **argv ) {
8     FGAirportsUtil airports;
9     FGAirport a;
10
11     sglog().setLogLevels( SG_ALL, SG_INFO );
12
13     if ( argc == 3 ) {
14         airports.load( argv[1] );
15         airports.dump_mk4( argv[2] );    
16     } else {
17         cout << "usage: " << argv[0] << " <in> <out>" << endl;
18     }
19
20     // FGAirports airport_db( argv[2] );
21     // airport_db.search( "KANEZZZ", &a );
22
23 }