GPSPosition(QObject *parent = 0);
/**
- * @brief Destructor.
- *
- * Stops GPS.
- */
- ~GPSPosition();
-
- /**
* @brief GPS position mode.
*/
enum Mode {Default, Simulation};
******************************************************************************/
public:
/**
+ * @brief Returns is GPS initialized.
+ *
+ * @return true if initialized, false otherwise
+ */
+ bool isInitialized();
+
+ /**
* @brief Checks if GPS is running.
*
* @return true if GPS running, false otherwise
/**
* @brief Signal for error.
*
- * @param message error message
+ * @param error error code
*/
- void error(const QString &message);
+ void error(const int error);
/**
* @brief Signal for position information.