phoneengine/callhandling/inc/cpecallhandling.h
branchGCC_SURGE
changeset 51 f39ed5e045e0
parent 21 92ab7f8d0eab
parent 45 6b911d05207e
--- a/phoneengine/callhandling/inc/cpecallhandling.h	Tue Jun 15 14:14:38 2010 +0100
+++ b/phoneengine/callhandling/inc/cpecallhandling.h	Thu Jul 22 16:33:21 2010 +0100
@@ -54,6 +54,7 @@
 class CCCECallParameters;
 class CPECCEObserver;
 class CPESystemCallState;
+class CRepository;
 
 // CLASS DECLARATION
 
@@ -283,14 +284,6 @@
         IMPORT_C TInt TerminateAllConnections();
         
         /**
-        * Asks phone identity parameters from the mmetel.
-        * @param aMessage Reply message to the phone application.
-        * @return Error (KErrNone or KErrNotFound).
-        */
-        IMPORT_C TInt UpdatePhoneIdentity( 
-            MEngineMonitor::TPEMessagesFromPhoneEngine aMessage );
-
-        /**
         * Sets active line
         */
         IMPORT_C void SetActiveLine();
@@ -380,14 +373,6 @@
         IMPORT_C TInt CallTerminatedError( const TInt aCallId );
         
         /**
-        * This method gets the lifetime of the MS. The lifetime information 
-        * includes the manufacturing date of the MS and the total amount of airtime use.
-        * @param aLifeTimeInfo Life time information
-        * @return Get succeeded or not.
-        */
-        IMPORT_C TBool GetLifeTime( TDes8& aLifeTimeInfo );
-        
-        /**
         * Replace active call with waiting call. 
         * @since Series60_5.0
         * @return Error (KErrNone is success).
@@ -648,6 +633,15 @@
          * @param aCall reference to call object
          */
         void SetCallOrigin( const TInt aCallId, const MCCECall& aCall ) const;
+        
+        /**
+         * Set COLP number to datastore if remote party number is 
+         * different from dialled number.
+         * @param aCallid.
+         * @param aCall reference to call object
+         * @return Updating Colp number was necessary.
+         */
+        TBool UpdateColpNumber( TInt aCallId, const MCCECall& aCall ) const;
 
     protected:
         // Phone model instance which owns this object.
@@ -689,6 +683,8 @@
         CPECCEObserver* iCCEObserver;
         // System Call State
         CPESystemCallState* iSystemCallState;
+        
+        CRepository* iRepository;
     };
 
 #endif    // CPECALLHANDLING_H