Added ContactManager class.
[situare] / src / ui / mainwindow.h
index 5c2776f..68b623a 100644 (file)
@@ -198,6 +198,14 @@ public slots:
     void setUsername(const QString &username);
 
     /**
+    * @brief Shows contact dialog.
+    *
+    * Shows contact dialog with contact's information.
+    * @param guid globally unique ID of a contact
+    */
+    void showContactDialog(const QString &guid);
+
+    /**
      * @brief Method to show panels
      */
     void showPanels();
@@ -442,6 +450,15 @@ signals:
     void centerToSceneCoordinates(const SceneCoordinate &coordinate);
 
     /**
+    * @brief Signal for contacts guids added.
+    *
+    * Contact guids has Facebook ID as key and Guid as value. Guid is a globally
+    * unique ID of a contact, which can be used with other datastores.
+    * @param contactGuids list of contact guids
+    */
+    void contactsGuidsAdded(const QHash<QString, QString> &contactGuids);
+
+    /**
     * @brief Signal when direction and distance from current map center point to current GPS
     *        location is changed
     *
@@ -558,6 +575,13 @@ signals:
     void refreshUserData();
 
     /**
+    * @brief Requests contact dialog.
+    *
+    * @param facebookId contact's facebookId
+    */
+    void requestContactDialog(const QString &facebookId);
+
+    /**
      * @brief Signal for requesting reverseGeo from SituareEngine
      *
      */