QML UI: add more dive computers

This really needs to be done differently - we need a structured way
to associate a transport mechanism with each of the dive computers
we support.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-07-02 21:57:08 -07:00
parent 1e895095cf
commit 0482f054a7

View file

@ -63,10 +63,20 @@ static void fill_supported_mobile_list()
QStringList({{"Petrel"}, {"Petrel 2"}, {"Perdix"}});
mobileProductList["Suunto"] =
QStringList({"EON Steel"});
mobileProductList["Scubapro"] =
QStringList({{"G2"}});
#endif
#if defined(Q_OS_IOS)
/* BLE only, Qt does not support classic BT on iOS */
mobileProductList["Heinrichs Weikamp"] =
QStringList({{"OSTC 4"}});
mobileProductList["Shearwater"] =
QStringList({{"Petrel"}, {"Petrel 2"}, {"Perdix"}});
mobileProductList["Suunto"] =
QStringList({"EON Steel"});
mobileProductList["Scubapro"] =
QStringList({{"G2"}});
#endif
}