diff options
author | 2018-07-11 12:54:00 +0200 | |
---|---|---|
committer | 2018-07-12 08:08:00 -0700 | |
commit | fe38a768f2b1375a4201e271da52fc1f5712e9a0 (patch) | |
tree | d6b21d3b5dfe2442391f1ebb823289cc89a1c86e /subsurface-mobile-helper.cpp | |
parent | 2c402b0fcf78bebb73b9ccfbf1be7d05bc991ed7 (diff) | |
download | subsurface-fe38a768f2b1375a4201e271da52fc1f5712e9a0.tar.gz |
ssrf: move functions from mobile-helper to mobile-main
Move few mobile only functions from mobile-helper to mobile-main
remove subsurface-mobile-helper
file structure is now subsurface-*-main.cpp + subsurface-helper.cpp
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'subsurface-mobile-helper.cpp')
-rw-r--r-- | subsurface-mobile-helper.cpp | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/subsurface-mobile-helper.cpp b/subsurface-mobile-helper.cpp deleted file mode 100644 index 1c7474022..000000000 --- a/subsurface-mobile-helper.cpp +++ /dev/null @@ -1,43 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -/* qt-gui.cpp */ -/* Qt UI implementation */ -#include "core/display.h" -#include "core/qthelper.h" - -#include <QApplication> -#include <QDesktopWidget> -#include <QNetworkProxy> -#include <QLibraryInfo> - - -#include <QQuickWindow> -#include <QScreen> -#include <QQmlApplicationEngine> -#include <QQmlContext> -#include <QSortFilterProxyModel> -#include "mobile-widgets/qmlmanager.h" -#include "qt-models/gpslistmodel.h" -#include "qt-models/messagehandlermodel.h" -#include "core/settings/qPref.h" - -#include "mobile-widgets/qml/kirigami/src/kirigamiplugin.h" - -#include "core/ssrf.h" - -void set_non_bt_addresses() { -#if defined(Q_OS_ANDROID) - connectionListModel.addAddress("FTDI"); -#elif defined(Q_OS_LINUX) // since this is in the else, it does NOT include Android - connectionListModel.addAddress("/dev/ttyS0"); - connectionListModel.addAddress("/dev/ttyS1"); - connectionListModel.addAddress("/dev/ttyS2"); - connectionListModel.addAddress("/dev/ttyS3"); - // this makes debugging so much easier - use the simulator - connectionListModel.addAddress("/tmp/ttyS1"); -#endif -} - -bool haveFilesOnCommandLine() -{ - return false; -} |