#include "gpspositioninterface.h"
+/**
+* @brief GPSPositionMockup class does nothing.
+*
+* Class is used when compiling in desktop.
+*/
class GPSPositionMockup : public GPSPositionInterface
{
Q_OBJECT
public:
/**
- * @brief Constructor creates GPS source.
+ * @brief Constructor.
*
* @param parent QObject
*/
GPSPositionMockup(QObject *parent = 0);
/**
- * @brief Destructor stops GPS.
+ * @brief Destructor.
*/
~GPSPositionMockup();
/**
* @brief Checks if GPS is running.
*
+ * RETURNS FALSE.
* @return true if GPS running, false otherwise
*/
bool isRunning();
/**
- * @brief Set GPS update interval
+ * @brief Informs gps to emit last known position.
*
+ * DOES NOTHING.
+ */
+ void lastPosition();
+
+ /**
+ * @brief Set GPS update interval.
+ *
+ * DOES NOTHING.
* @return interval interval in milliseconds
*/
void setUpdateInterval(int interval);
/**
+ * @brief Set GPS mode.
+ *
+ * DOES NOTHING.
+ * @param mode GPS mode
+ * @param filePath file path to NMEA file if simulation mode is used
+ */
+ void setMode(Mode mode, const QString &filePath = 0);
+
+ /**
* @brief Start GPS.
+ *
+ * DOES NOTHING.
*/
void start();
/**
* @brief Stop GPS.
+ *
+ * DOES NOTHING.
*/
void stop();
private slots:
+ /**
+ * @brief Slot for GPS update request.
+ *
+ * DOES NOTHING.
+ */
void update();
};