omadrm/drmengine/roap/src/MeteringReportResp.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 03 May 2010 12:46:34 +0300
changeset 29 3bdc3b853094
parent 0 95b198f216e5
permissions -rw-r--r--
Revision: 201015 Kit: 201018

/*
* Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  class representing metering report response
*
*/



// INCLUDE FILES
#include <e32base.h>
#include "MeteringReportResp.h"

using namespace Roap;

// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// CRegistrationResp::CRegistrationResp
// C++ default constructor can NOT contain any code, that
// might leave.
// -----------------------------------------------------------------------------
//
CMeteringResp::CMeteringResp()
    {
    }

// -----------------------------------------------------------------------------
// CRegistrationResp::ConstructL
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CMeteringResp::ConstructL()
    {
    }

// -----------------------------------------------------------------------------
// CRegistrationResp::NewL
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CMeteringResp* CMeteringResp::NewL()
    {
    CMeteringResp* self = new( ELeave ) CMeteringResp;

    CleanupStack::PushL( self );
    self->ConstructL();
    CleanupStack::Pop( self );

    return self;
    }


// Destructor
CMeteringResp::~CMeteringResp()
    {
    iCertificateChain.ResetAndDestroy();
    iOcspResponse.ResetAndDestroy();
    delete iDeviceNonce;
    delete iErrorUrl;
    delete iSignature;
    delete iPrUrl;
    }

//  End of File