upnpmediaserver/contentdirectoryservice/src/upnpsender.cpp
author Sampo Huttunen <sampo.huttunen@nokia.com>
Wed, 24 Nov 2010 09:39:46 +0200
branchIOP_Improvements
changeset 45 a6c41ca11adf
parent 0 7f85d04be362
permissions -rw-r--r--
Updated the SIS package, there was some BC issue with the earlier version. Also updated the platform UID to S^3 version.

/** @file
* Copyright (c) 2005-2006 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:  Element table data handler
*
*/



// INCLUDE FILES
#include "upnpsender.h"
#include "upnpcontentdirectoryglobals.h"
#include "upnpcontentdirectory.h"
#include <upnpobject.h>
#include <upnpitem.h>
// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// CUpnpCdsSender::CUpnpCdsSender
// C++ default constructor can NOT contain any code, that
// might leave.
// -----------------------------------------------------------------------------
//
CUpnpCdsSender::CUpnpCdsSender(CUpnpContentDirectory* aCd)
{
    iCd = aCd;
}

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

}
// -----------------------------------------------------------------------------
// CUpnpCdsSender::NewLC
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CUpnpCdsSender* CUpnpCdsSender::NewLC(CUpnpContentDirectory* aCd)
{
    CUpnpCdsSender* self = new (ELeave) CUpnpCdsSender(aCd);
    CleanupStack::PushL(self);
    self->ConstructL();
    return self;
}    
// -----------------------------------------------------------------------------
// CUpnpCdsSender::NewL
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CUpnpCdsSender* CUpnpCdsSender::NewL(CUpnpContentDirectory* aCd)
{
    CUpnpCdsSender* self = NewLC(aCd);
    CleanupStack::Pop();
    return self;
}
// -----------------------------------------------------------------------------
// CUpnpCdsSender::~CUpnpCdsSender
// Destructor
// -----------------------------------------------------------------------------
//
CUpnpCdsSender::~CUpnpCdsSender()
{
}
// -----------------------------------------------------------------------------
// CUpnpCdsSender::SendL
// -----------------------------------------------------------------------------
//
void CUpnpCdsSender::SendL(CUpnpAction* aAction, TUpnpErrorCode aError)
{
    iCd->SendActionL(aAction, aError);
}
// -----------------------------------------------------------------------------
// CUpnpCdsSender::SendL
// -----------------------------------------------------------------------------
//
void CUpnpCdsSender::SendL( CUpnpHttpMessage* aMessage )
{
    iCd->SendMessageL(aMessage);
}
//  End of File