|
|
|
@ -60,7 +60,7 @@ class QGCApplication : public
@@ -60,7 +60,7 @@ class QGCApplication : public
|
|
|
|
|
Q_OBJECT |
|
|
|
|
|
|
|
|
|
public: |
|
|
|
|
QGCApplication(int &argc, char* argv[], bool unitTesting); |
|
|
|
|
QGCApplication(int &argc, char* argv[], bool logOutput, bool unitTesting); |
|
|
|
|
~QGCApplication(); |
|
|
|
|
|
|
|
|
|
/// @brief Sets the persistent flag to delete all settings the next time QGroundControl is started.
|
|
|
|
@ -69,9 +69,12 @@ public:
@@ -69,9 +69,12 @@ public:
|
|
|
|
|
/// @brief Clears the persistent flag to delete all settings the next time QGroundControl is started.
|
|
|
|
|
void clearDeleteAllSettingsNextBoot(void); |
|
|
|
|
|
|
|
|
|
/// @brief Returns truee if unit test are being run
|
|
|
|
|
/// @brief Returns true if unit tests are being run
|
|
|
|
|
bool runningUnitTests(void) { return _runningUnitTests; } |
|
|
|
|
|
|
|
|
|
/// @brief Returns true if Qt debug output should be logged to a file
|
|
|
|
|
bool logOutput(void) { return _logOutput; } |
|
|
|
|
|
|
|
|
|
/// Used to report a missing Parameter. Warning will be displayed to user. Method may be called
|
|
|
|
|
/// multiple times.
|
|
|
|
|
void reportMissingParameter(int componentId, const QString& name); |
|
|
|
@ -158,6 +161,7 @@ private:
@@ -158,6 +161,7 @@ private:
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
bool _runningUnitTests; ///< true: running unit tests, false: normal app
|
|
|
|
|
bool _logOutput; ///< true: Log Qt debug output to file
|
|
|
|
|
|
|
|
|
|
static const char* _darkStyleFile; |
|
|
|
|
static const char* _lightStyleFile; |
|
|
|
|