| Enroute Flight Navigation
    A navigation app for VFR pilots | 
Flarmnet database. More...
#include <FlarmnetDB.h>
| Public Member Functions | |
| FlarmnetDB (QObject *parent=nullptr) | |
| Default constructor. | |
| Q_INVOKABLE QString | getRegistration (const QString &key) | 
| Find password for a given key. | |
Flarmnet database.
This simple class provides access to a Flarmnet database, which is in essence a glorified QHash<QString, QString>, where keys are Flarm IDs and values are aircraft registration strings.
Definition at line 37 of file FlarmnetDB.h.
| Traffic::FlarmnetDB::FlarmnetDB | ( | QObject * | parent = nullptr | ) | 
Default constructor.
This default constructor will read the database from a file into memory.
| parent | The standard QObject parent pointer | 
| Q_INVOKABLE QString Traffic::FlarmnetDB::getRegistration | ( | const QString & | key | ) | 
Find password for a given key.
| key | FlarmID to look up |