示例#1
0
/**
 * Opens the airfield details file and parses it
 */
void
WaypointDetails::ReadFile(TLineReader &reader, Waypoints &way_points,
                          OperationEnvironment &operation)
{
  operation.SetText(_("Loading Airfield Details File..."));
  ParseAirfieldDetails(way_points, reader, operation);
}
示例#2
0
void ReadAirfieldFile() {
  #if TESTBENCH
  StartupStore(TEXT(". ReadAirfieldFile%s"),NEWLINE);
  #endif

	// LKTOKEN  _@M400_ = "Loading Waypoint Notes File..."
  CreateProgressDialog(MsgToken(400));

  {
    OpenAirfieldDetails();
    ParseAirfieldDetails();
    CloseAirfieldDetails();
  }

}
示例#3
0
/**
 * Opens the airfield details file and parses it
 */
void
ReadAirfieldFile(Waypoints &way_points)
{
  LogStartUp(_T("ReadAirfieldFile"));

  TLineReader *reader =
    OpenConfiguredTextFile(szProfileAirfieldFile, _T("airfields.txt"));
  if (reader == NULL)
    return;

  ProgressGlue::Create(_("Loading Airfield Details File..."));

  ParseAirfieldDetails(way_points, *reader);
  delete reader;
}