telephonyprotocols/qosextnapi/src/imsextn.cpp
changeset 42 3adadc800673
parent 0 3553901f7fa8
child 66 07a122eea281
equal deleted inserted replaced
31:8ab6687fb94c 42:3adadc800673
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    13 // Description:
    13 // Description:
    14 // imsapi.cpp - IMS QoS API
    14 // imsapi.cpp - IMS QoS API
    15 //
    15 //
    16 
    16 
    17 #include "imsextn.h"
    17 #include "imsextn.h"
    18 #include "qosextn_log.h"
    18 #include "OstTraceDefinitions.h"
       
    19 #ifdef OST_TRACE_COMPILER_IN_USE
       
    20 #include "imsextnTraces.h"
       
    21 #endif
    19 
    22 
    20 //#ifdef SYMBIAN_NETWORKING_UMTS5
    23 //#ifdef SYMBIAN_NETWORKING_UMTS5
    21 
    24 
    22 #include "qosextn_constants.h"
    25 #include "qosextn_constants.h"
    23 #include <networking/qosparameters.h>
    26 #include <networking/qosparameters.h>
   130 
   133 
   131 EXPORT_C void CImsPolicy::SetImsParameter(const TImsParameter& aIms)
   134 EXPORT_C void CImsPolicy::SetImsParameter(const TImsParameter& aIms)
   132 	{
   135 	{
   133 	iIms = aIms;
   136 	iIms = aIms;
   134 	
   137 	
   135 	LOG(Log::Printf(_L("<------------------------------------------------\n")));
   138 	OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, CIMSPOLICY_SETIMSPARAMETER_1, "<------------------------------------------------\n");
   136 	LOG(Log::Printf(_L("CImsPolicy::SetImsParameter")));
   139 	OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, CIMSPOLICY_SETIMSPARAMETER_2, "CImsPolicy::SetImsParameter");
   137 	LOG(Log::Printf(_L("\n")));
   140 	OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, CIMSPOLICY_SETIMSPARAMETER_3, "\n");
   138 	LOG(Log::Printf(_L("IMS VALUE SUPPLIED BY CLIENT IS \n")));
   141 	OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, CIMSPOLICY_SETIMSPARAMETER_4, "IMS VALUE SUPPLIED BY CLIENT IS \n");
   139 	LOG(Log::Printf(_L("\n")));
   142 	OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, CIMSPOLICY_SETIMSPARAMETER_5, "\n");
   140 	LOG(Log::Printf(_L("[IMS Signalling Indicator value is  :	 = %d]\n"),aIms.GetIMSSigallingIndicator()));
   143 	OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, CIMSPOLICY_SETIMSPARAMETER_6, "[IMS Signalling Indicator value is  :   = %d]\n",aIms.GetIMSSigallingIndicator());
   141 	LOG(Log::Printf(_L("------------------------------------------------>\n")));
   144 	OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, CIMSPOLICY_SETIMSPARAMETER_7, "------------------------------------------------>\n");
   142 	
   145 	
   143 	}
   146 	}
   144 
   147 
   145 EXPORT_C void CImsPolicy::GetImsParameter(TImsParameter& aIms) const
   148 EXPORT_C void CImsPolicy::GetImsParameter(TImsParameter& aIms) const
   146 	{
   149 	{