realtimenetprots/sipfw/SIP/Codec/src/CSIPCodecTlsPtrs.cpp
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Name          : CSIPCodecTlsPtrs.cpp
       
    15 // Part of       : SIP Codec
       
    16 // Version       : SIP/4.0 
       
    17 //
       
    18 
       
    19 
       
    20 
       
    21 #include "CSIPCodecTlsPtrs.h"
       
    22 #include "CSIPStrings.h"
       
    23 #include "CSIPHeaderLookupTable.h"
       
    24 
       
    25 // ----------------------------------------------------------------------------
       
    26 // CSIPCodecTlsPtrs::CSIPCodecTlsPtrs
       
    27 // ----------------------------------------------------------------------------
       
    28 //
       
    29 CSIPCodecTlsPtrs::CSIPCodecTlsPtrs(CSIPStrings* aStrings)
       
    30  : iStrings(aStrings)
       
    31 	{
       
    32 	}
       
    33 	
       
    34 // ----------------------------------------------------------------------------
       
    35 // CSIPCodecTlsPtrs::CSIPCodecTlsPtrs
       
    36 // ----------------------------------------------------------------------------
       
    37 //	
       
    38 CSIPCodecTlsPtrs::CSIPCodecTlsPtrs(CSIPHeaderLookupTable* aHeaderLookup) 
       
    39  : iHeaderLookup(aHeaderLookup)
       
    40  	{
       
    41  	}	
       
    42 
       
    43 // ----------------------------------------------------------------------------
       
    44 // CSIPCodecTlsPtrs::~CSIPCodecTlsPtrs
       
    45 // ----------------------------------------------------------------------------
       
    46 //
       
    47 CSIPCodecTlsPtrs::~CSIPCodecTlsPtrs()
       
    48 	{
       
    49 	delete iStrings;
       
    50 	delete iHeaderLookup;
       
    51 	}
       
    52 
       
    53 // ----------------------------------------------------------------------------
       
    54 // CSIPCodecTlsPtrs::DestroyStrings
       
    55 // ----------------------------------------------------------------------------
       
    56 //	
       
    57 void CSIPCodecTlsPtrs::DestroyStrings()
       
    58 	{
       
    59 	delete iStrings;
       
    60 	iStrings = NULL;	
       
    61 	}
       
    62 	
       
    63 // ----------------------------------------------------------------------------
       
    64 // CSIPCodecTlsPtrs::DestroyHeaderLookup
       
    65 // ----------------------------------------------------------------------------
       
    66 //	
       
    67 void CSIPCodecTlsPtrs::DestroyHeaderLookup()
       
    68 	{
       
    69 	delete iHeaderLookup;
       
    70 	iHeaderLookup = NULL;	
       
    71 	}
       
    72