Enroute Flight Navigation
A navigation app for VFR pilots
Flightlog::FlightLogExportForeFlight Class Reference

ForeFlight Logbook Import CSV export format for the flight log. More...

#include <FlightLogExportForeFlight.h>

Static Public Member Functions

static auto toCSV (const QList< Flight > &flights) -> QByteArray
 Generate ForeFlight CSV content for a list of flights.

Detailed Description

ForeFlight Logbook Import CSV export format for the flight log.

Produces the exact two-table CSV structure expected by ForeFlight's logbook import feature (magic row, blank, Aircraft Table, blank, Flights Table).

see https://support.foreflight.com/hc/en-us/articles/215998368-Is-there-a-properly-formatted-sample-logbook-available-for-viewing see https://support.foreflight.com/hc/article_attachments/35060835400727

Definition at line 39 of file FlightLogExportForeFlight.h.

Member Function Documentation

◆ toCSV()

auto Flightlog::FlightLogExportForeFlight::toCSV ( const QList< Flight > & flights) -> QByteArray
staticnodiscard

Generate ForeFlight CSV content for a list of flights.

Parameters
flightsThe flights to include
Returns
CSV content as UTF-8, or empty if flights is empty

The documentation for this class was generated from the following file: