Msrp/MsrpHeader/src/CMSRPTlsPtrs.cpp
branchMSRP_FrameWork
changeset 25 505ad3f0ce5c
equal deleted inserted replaced
22:f1578314b8da 25:505ad3f0ce5c
       
     1 /*
       
     2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html."
       
     8 * Initial Contributors:
       
     9 * Nokia Corporation - initial contribution.
       
    10 * Contributors:
       
    11 *
       
    12 * Description:
       
    13 * MSRP Implementation
       
    14 *
       
    15 */
       
    16 
       
    17 // CLASS HEADER
       
    18 #include "CMSRPTlsPtrs.h"
       
    19 
       
    20 // INTERNAL INCLUDES
       
    21 #include "CMSRPStrings.h"
       
    22 
       
    23 // ----------------------------------------------------------------------------
       
    24 // CMSRPTlsPtrs::CMSRPTlsPtrs
       
    25 // ----------------------------------------------------------------------------
       
    26 //
       
    27 CMSRPTlsPtrs::CMSRPTlsPtrs( CMSRPStrings* aStrings )
       
    28  : iStrings(aStrings)
       
    29 	{
       
    30 	}
       
    31 	
       
    32 // ----------------------------------------------------------------------------
       
    33 // CMSRPTlsPtrs::~CMSRPTlsPtrs
       
    34 // ----------------------------------------------------------------------------
       
    35 //
       
    36 CMSRPTlsPtrs::~CMSRPTlsPtrs()
       
    37 	{
       
    38 	delete iStrings;
       
    39 	}
       
    40 
       
    41 // ----------------------------------------------------------------------------
       
    42 // CMSRPTlsPtrs::DestroyStrings
       
    43 // ----------------------------------------------------------------------------
       
    44 //	
       
    45 void CMSRPTlsPtrs::DestroyStrings()
       
    46 	{
       
    47 	delete iStrings;
       
    48 	iStrings = NULL;	
       
    49 	}
       
    50 	
       
    51 // ----------------------------------------------------------------------------
       
    52 // CMSRPTlsPtrs::GetMsrpString
       
    53 // ----------------------------------------------------------------------------
       
    54 //	
       
    55 CMSRPStrings* CMSRPTlsPtrs::GetMsrpString()
       
    56 	{
       
    57 	return iStrings;
       
    58 	}
       
    59 
       
    60 
       
    61 // End of file