Added coordinates to sendMessage.
[situare] / src / engine / engine.h
index 420a4d9..2cd2341 100644 (file)
@@ -274,6 +274,16 @@ private slots:
     void routeToCursor();
 
     /**
+    * @brief Requests to send a message to a person.
+    *
+    * Adds coordinates to to message if selected.
+    * @param receiverId Facebook user ID
+    * @param message message text
+    * @param addCoordinates true if coordinates should be added, false otherwise
+    */
+    void requestSendMessage(const QString &receiverId, const QString &message, bool addCoordinates);
+
+    /**
     * @brief Slot for setting auto centering state.
     *
     * Calls gps to send last known position