Depricated ...
This commit is contained in:
parent
6665d7d609
commit
212f5d66bf
1 changed files with 0 additions and 30 deletions
|
@ -1,30 +0,0 @@
|
||||||
// dump out a gdbm version of the simple airport file
|
|
||||||
|
|
||||||
#include <simgear/compiler.h>
|
|
||||||
|
|
||||||
#include STL_IOSTREAM
|
|
||||||
|
|
||||||
#include <simgear/debug/logstream.hxx>
|
|
||||||
|
|
||||||
#include "simple.hxx"
|
|
||||||
|
|
||||||
SG_USING_STD(cout);
|
|
||||||
SG_USING_STD(endl);
|
|
||||||
|
|
||||||
int main( int argc, char **argv ) {
|
|
||||||
FGAirportsUtil airports;
|
|
||||||
FGAirport a;
|
|
||||||
|
|
||||||
sglog().setLogLevels( SG_ALL, SG_INFO );
|
|
||||||
|
|
||||||
if ( argc == 3 ) {
|
|
||||||
airports.load( argv[1] );
|
|
||||||
airports.dump_mk4( argv[2] );
|
|
||||||
} else {
|
|
||||||
cout << "usage: " << argv[0] << " <in> <out>" << endl;
|
|
||||||
}
|
|
||||||
|
|
||||||
// FGAirports airport_db( argv[2] );
|
|
||||||
// airport_db.search( "KANEZZZ", &a );
|
|
||||||
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue