contentmgmt/referencedrmagent/refcafhelper/source/refcafhelper.cpp
branchRCL_3
changeset 70 b38692a04122
parent 63 07c4e3a0535d
child 74 0d3a50e36d4b
child 79 a5e05e7296f9
equal deleted inserted replaced
63:07c4e3a0535d 70:b38692a04122
     1 /*
       
     2 * Copyright (c) 2009 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 the License "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 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <e32base.h>
       
    20 #include "refcafhelper.h"
       
    21 #include <caferr.h>
       
    22 
       
    23 
       
    24 EXPORT_C MCAFHelperInterface* CReferenceCafHelper::NewCafHelperImplL()
       
    25     {
       
    26     return new (ELeave) CReferenceCafHelper;
       
    27     }
       
    28 
       
    29 CReferenceCafHelper::CReferenceCafHelper()
       
    30 	{
       
    31 	}
       
    32 
       
    33 EXPORT_C TInt CReferenceCafHelper::HandleCAFErrorL(TInt /*aError*/, const TDesC& /*aFileName*/)
       
    34 	{
       
    35 	return KErrNotSupported;
       
    36 	}
       
    37 
       
    38 EXPORT_C TInt CReferenceCafHelper::HandleCAFErrorL(TInt /*aError*/, RFile& /*aFileHandle*/)
       
    39 	{
       
    40 	return KErrNotSupported;
       
    41 	}
       
    42 
       
    43 EXPORT_C TInt CReferenceCafHelper::HandleCAFErrorL(TInt /*aError*/, const TDesC8& /*aHeaderData*/)
       
    44 	{
       
    45 	return KErrNotSupported;
       
    46 	}
       
    47 	
       
    48 EXPORT_C void CReferenceCafHelper::Release()
       
    49 	{
       
    50 	delete this;
       
    51 	}
       
    52 
       
    53 CReferenceCafHelper::~CReferenceCafHelper()
       
    54 	{
       
    55 	}
       
    56