sipvoipprovider/src/svputility.cpp
branchRCL_3
changeset 11 6134b5029079
parent 0 a4daefaec16c
equal deleted inserted replaced
10:ed1e38b404e5 11:6134b5029079
     1 /*
     1 /*
     2 * Copyright (c) 2006-2007 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
  1683 
  1683 
  1684     return fromheader;
  1684     return fromheader;
  1685     }
  1685     }
  1686 
  1686 
  1687 // ---------------------------------------------------------------------------
  1687 // ---------------------------------------------------------------------------
       
  1688 // CSVPUtility::AddPPreferredIdentityToUserHeaders
       
  1689 // ---------------------------------------------------------------------------
       
  1690 //
       
  1691 void CSVPUtility::AddPPreferredIdentityToUserHeadersL( 
       
  1692     CDesC8Array& aUserAgentHeaders, const TDesC8& aUri )
       
  1693     { 
       
  1694     SVPDEBUG1( "CSVPUtility::AddPPreferredIdentityToUserHeadersL In" )
       
  1695     
       
  1696     TBuf8<KSVPTempStringlength> pPreferredHeaderString;
       
  1697     pPreferredHeaderString.Append( KSVPPIdentity );
       
  1698     pPreferredHeaderString.Append( KSVPLeftBracketMark );
       
  1699     pPreferredHeaderString.Append( aUri );
       
  1700     pPreferredHeaderString.Append( KSVPRightBracketMark );
       
  1701     aUserAgentHeaders.AppendL( pPreferredHeaderString );
       
  1702     
       
  1703     SVPDEBUG1( "CSVPUtility::AddPPreferredIdentityToUserHeadersL Out " )
       
  1704     }
       
  1705 
       
  1706 // ---------------------------------------------------------------------------
  1688 // CSVPUtility::GetTerminalTypeL
  1707 // CSVPUtility::GetTerminalTypeL
  1689 // ---------------------------------------------------------------------------
  1708 // ---------------------------------------------------------------------------
  1690 //
  1709 //
  1691 void CSVPUtility::GetTerminalTypeL(
  1710 void CSVPUtility::GetTerminalTypeL(
  1692 	    TBuf< KSVPMaxTerminalTypeLength >& aTerminalType )
  1711 	    TBuf< KSVPMaxTerminalTypeLength >& aTerminalType )