void
FlarmDetails::Load()
{
  LogStartUp(_T("FlarmDetails::Load"));

  LoadSecondary();
  LoadFLARMnet();
}
Esempio n. 2
0
void
LoadFlarmDatabases()
{
  if (traffic_databases != nullptr)
    return;

  traffic_databases = new TrafficDatabases();

  /* the MergeThread must be suspended, because it reads the FLARM
     databases */
  merge_thread->Suspend();

  LoadSecondary(traffic_databases->flarm_names);
  LoadFLARMnet(traffic_databases->flarm_net);
  Profile::Load(traffic_databases->flarm_colors);

  merge_thread->Resume();
}