connectionmonitoring/connectionmonitorui/inc/ConnectionInfoBase.h
branchRCL_3
changeset 55 fc7b30ed2058
parent 2 086aae6fc07e
--- a/connectionmonitoring/connectionmonitorui/inc/ConnectionInfoBase.h	Thu Jul 15 19:05:04 2010 +0300
+++ b/connectionmonitoring/connectionmonitorui/inc/ConnectionInfoBase.h	Thu Aug 19 10:18:49 2010 +0300
@@ -391,6 +391,19 @@
         */
         void InitializeConnectionInfoL();
 
+        /**
+         * Compare the provided UID array with the current cached UID array
+         * iClientBuf.
+         * @param aClients New array of UIDs.
+         * @return ETrue if the contents are the same, EFalse otherwise.
+         */
+        TBool IsTheSameUids( TConnMonClientEnumBuf& aClients );
+
+        /**
+         * Copy the provided UIDs into the cached UID array.
+         * @param aClients New array of UIDs.
+         */
+        void CopyUidsToBuf( TConnMonClientEnumBuf& aClients );
 
     protected:
         
@@ -478,6 +491,13 @@
         * The active object for info. refreshing. NOT Owned.
         */
         CActiveWrapper*                     iActiveWrapper;
+
+        /**
+         * Buffer to cache a connection's client application UIDs.
+         * These are kept in cache so application names are resolved only when
+         * the client list has changed.
+         */
+        TConnMonClientEnumBuf               iClientBuf;
     };