mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Ref T731, moved AFV station model and client to BlackCore::Afv
* the QML map can also be used in dialog * ATC station list also can be used in BlackCore
This commit is contained in:
committed by
Mat Sutcliffe
parent
66b02e61c5
commit
992d624c18
@@ -1,8 +1,9 @@
|
||||
// #include "voiceclientui.h"
|
||||
|
||||
#include "models/atcstationmodel.h"
|
||||
#include "clients/afvclient.h"
|
||||
#include "afvmapreader.h"
|
||||
#include "blackcore/afv/model/atcstationmodel.h"
|
||||
#include "blackcore/afv/model/afvmapreader.h"
|
||||
#include "blackcore/afv/clients/afvclient.h"
|
||||
|
||||
#include "blackcore/application.h"
|
||||
|
||||
#include <QGuiApplication>
|
||||
@@ -12,6 +13,7 @@
|
||||
#include <QThread>
|
||||
|
||||
using namespace BlackCore::Afv::Clients;
|
||||
using namespace BlackCore::Afv::Model;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
@@ -20,7 +22,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
BlackCore::CApplication a("sampleafvclient", BlackMisc::CApplicationInfo::Sample);
|
||||
|
||||
AFVMapReader *afvMapReader = new AFVMapReader(&a);
|
||||
CAfvMapReader *afvMapReader = new CAfvMapReader(&a);
|
||||
afvMapReader->updateFromMap();
|
||||
|
||||
CAfvClient voiceClient("https://voice1.vatsim.uk");
|
||||
|
||||
Reference in New Issue
Block a user