]> git.mxchange.org Git - flightgear.git/blob - src/Airports/gensimple.cxx
Tweak #includes to use double quotes for local files not <>
[flightgear.git] / src / Airports / gensimple.cxx
1 // dump out a gdbm version of the simple airport file
2
3 #include <simgear/compiler.h>
4
5 #include STL_IOSTREAM
6
7 #include <simgear/debug/logstream.hxx>
8
9 #include "simple.hxx"
10
11 #if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
12 SG_USING_STD(cout);
13 SG_USING_STD(endl);
14 #endif
15
16 int main( int argc, char **argv ) {
17     FGAirportsUtil airports;
18     FGAirport a;
19
20     sglog().setLogLevels( SG_ALL, SG_INFO );
21
22     if ( argc == 3 ) {
23         airports.load( argv[1] );
24         airports.dump_mk4( argv[2] );    
25     } else {
26         cout << "usage: " << argv[0] << " <in> <out>" << endl;
27     }
28
29     // FGAirports airport_db( argv[2] );
30     // airport_db.search( "KANEZZZ", &a );
31
32 }