messagingfw/sendas/client/inc/csendaseditutils.inl
changeset 62 db3f5fa34ec7
parent 0 8e480a14352b
equal deleted inserted replaced
60:9f5ae1728557 62:db3f5fa34ec7
       
     1 // Copyright (c) 2005-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 //
       
    15 
       
    16 #include <ecom/ecom.h>
       
    17 
       
    18 CSendAsEditUtils* CSendAsEditUtils::NewL(TUid aUid)
       
    19 	{
       
    20 	// Get the instantiation specified by the UID.
       
    21 	TAny* ptr = REComSession::CreateImplementationL(aUid, _FOFF(CSendAsEditUtils, iDtor_ID_Key));
       
    22 	CSendAsEditUtils* utils = reinterpret_cast<CSendAsEditUtils*>(ptr);
       
    23 	return utils;
       
    24 	}
       
    25 	
       
    26 CSendAsEditUtils::CSendAsEditUtils()
       
    27 : CBase()
       
    28 	{
       
    29 	}
       
    30 	
       
    31 CSendAsEditUtils::~CSendAsEditUtils()
       
    32 	{
       
    33 	REComSession::DestroyedImplementation(iDtor_ID_Key);
       
    34 	}