adaptationlayer/tsy/nokiatsy_dll/inc/cmmpacketcontextmesshandler.h
changeset 8 6295dc2169f3
parent 0 63b37f68c1ce
child 9 8486d82aef45
--- a/adaptationlayer/tsy/nokiatsy_dll/inc/cmmpacketcontextmesshandler.h	Wed Feb 17 13:58:55 2010 +0200
+++ b/adaptationlayer/tsy/nokiatsy_dll/inc/cmmpacketcontextmesshandler.h	Wed Apr 21 14:29:55 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of the License "Eclipse Public License v1.0"
@@ -11,12 +11,10 @@
 *
 * Contributors:
 *
-* Description: 
+* Description:
 *
 */
 
-
-
 #ifndef CMMPACKETCONTEXTMESSHANDLER_H
 #define CMMPACKETCONTEXTMESSHANDLER_H
 
@@ -114,14 +112,6 @@
 // Subbclock length
 const TInt KSubBlockLengthOffset1 = 1;
 
-// masks for detailed cause values.
-// see 3GPP TS 24.008 V5.16.0 spec
-const TUint8 KDiagnosticsOctet2( 0x02 ); // B0000_0100
-const TUint8 KDiagnosticsOctet3( 0xC0 ); // B1100_0000
-const TUint8 KDiagnosticsOctet4( 0x95 ); // B1001_0101
-const TUint8 KDiagnosticsOctet5( 0x82 ); // B1000_0010
-const TUint8 KDiagnosticsOctet6( 0x02 ); // B0000_0010
-
 // MACROS
     // None
 
@@ -230,7 +220,7 @@
         * By default Symbian 2nd phase constructor is private.
         */
         void ConstructL();
-        
+
     private: // New functions
 
         /**
@@ -825,22 +815,32 @@
         * @param aIsiMessage: received Isi message.
         */
         void CallModemResourceResp( const TIsiReceiveC &aIsiMessage );
-        
+
         /**
         * Creates SendCallmodemResourceDenied ISI message to modem call server.
         * @param aDatapackage
         * @return None
         */
-        void CallModemResourceReqDenied();
-        
+        void CallModemResourceReqDenied(
+            const TUint8 aCauseType,
+            const TUint8 aCause,
+            const TDesC8& aDetailedCause );
+
         /*
-        * This method completes drive mode functions, if drive mode flag 
+        * This method completes drive mode functions, if drive mode flag
         * is enabled
         * @param aDataPackage: data package
-        * @return TInt: KErrNone 
+        * @return TInt: KErrNone
         */
         void CompleteDCMdrivemodeFunctionalityL();
 
+        /*
+        * This method interpretes channel ID from context name.
+        * @param TInfoName: Context name
+        * @return TInt: Channel ID
+        */
+        TInt getProxyId(const TInfoName& contextName);
+
     public: // Data
         // None
 
@@ -893,8 +893,8 @@
 
         // Buffer for isimessage. Used in resource control
         HBufC8* iResourceControlMsg;
-        
-        //drive mode flag 
+
+        // drive mode flag
         TBool iDriveModeFlag;
 
     };