recents_plat/logs_engine_api/inc/logsevent.h
changeset 19 e4c884866116
parent 16 c5af8598d22c
--- a/recents_plat/logs_engine_api/inc/logsevent.h	Thu Sep 02 20:27:05 2010 +0300
+++ b/recents_plat/logs_engine_api/inc/logsevent.h	Fri Sep 17 08:29:34 2010 +0300
@@ -239,8 +239,9 @@
         
         /**
          * Set remote party name for the event.
+         * @param contactMatch, use true if remoteparty is set by contact matching
          */
-        void setRemoteParty( const QString& remoteParty );
+        void setRemoteParty( const QString& remoteParty, bool contactMatch = false );
         
         /**
         * Set indication of result of searching matching 
@@ -274,9 +275,11 @@
          * Search matching contact from contacts and update
          * event with possible match.
          * @param manager
-         * @return name of matched contact, zero length string if no match found.
+         * @param contactNameStr, on return updated contact name
+         * @return true if found matching contact, otherwise false
          */
-        QString updateRemotePartyFromContacts(QContactManager& manager);
+        bool updateRemotePartyFromContacts(
+            QContactManager& manager, QString& contactNameStr);
         
         /**
          * Prepares the event for contact matching.