idlehomescreen/xmluirendering/renderingplugins/extrenderingplugin/src/xnextrenderingpluginadapter.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Feb 2010 22:42:37 +0200
branchRCL_3
changeset 9 f966699dea19
parent 1 5315654608de
permissions -rw-r--r--
Revision: 201003 Kit: 201007

/*
* Copyright (c) 2009 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:  External rendering plugin adapter base class implementation
*
*/

// System include files
#include <ecom/ecom.h>
#include <ecom/implementationinformation.h>
#include <xnextrenderingpluginadapter.h>
#include <xnexteventhandler.h>

// Local constants

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

// ----------------------------------------------------------------------------
// CXnExtRenderingPluginAdapter::NewL()
// ----------------------------------------------------------------------------
//
EXPORT_C CXnExtRenderingPluginAdapter* CXnExtRenderingPluginAdapter::NewL( TUid aImplUid )
    {
    TAny* ptr = REComSession::CreateImplementationL( aImplUid,
        _FOFF( CXnExtRenderingPluginAdapter, iDestructKey ) );

    CXnExtRenderingPluginAdapter* adapter =
        reinterpret_cast< CXnExtRenderingPluginAdapter* >( ptr );
        
    if( adapter )
        {
        adapter->iImplUid = aImplUid;
        }
    
    return adapter;
    }
    
// -----------------------------------------------------------------------
// CXnExtRenderingPluginAdapter::ImplUid()
// -----------------------------------------------------------------------
//
EXPORT_C TUid CXnExtRenderingPluginAdapter::ImplUid() const
    {
    return iImplUid;
    }
    
// ----------------------------------------------------------------------------
// CXnExtRenderingPluginAdapter::~CXnExtRenderingPluginAdapter()
// ----------------------------------------------------------------------------
//
EXPORT_C CXnExtRenderingPluginAdapter::~CXnExtRenderingPluginAdapter()
    {
    REComSession::DestroyedImplementation( iDestructKey );
    }
  
// ----------------------------------------------------------------------------
// CXnExtRenderingPluginAdapter::EnterPowerSaveModeL()
// ----------------------------------------------------------------------------
//
EXPORT_C void CXnExtRenderingPluginAdapter::EnterPowerSaveModeL()
	{
	}    
	
// ----------------------------------------------------------------------------
// CXnExtRenderingPluginAdapter::ExitPowerSaveModeL()
// ----------------------------------------------------------------------------
//
EXPORT_C void CXnExtRenderingPluginAdapter::ExitPowerSaveModeL()
	{
	}
	
// ----------------------------------------------------------------------------
// CXnExtRenderingPluginAdapter::SkinChanged()
// ----------------------------------------------------------------------------
//
EXPORT_C void CXnExtRenderingPluginAdapter::SkinChanged()
	{
	}  	

// ----------------------------------------------------------------------------
// CXnExtRenderingPluginAdapter::FocusChanged()
// ----------------------------------------------------------------------------
//
EXPORT_C void CXnExtRenderingPluginAdapter::FocusChanged( TDrawNow /*aDrawNow*/ )
	{
	}
	
// ----------------------------------------------------------------------------
// CXnExtRenderingPluginAdapter::SizeChanged()
// ----------------------------------------------------------------------------
//
EXPORT_C void CXnExtRenderingPluginAdapter::SizeChanged()
	{
	}

// ----------------------------------------------------------------------------
// CXnExtRenderingPluginAdapter::SetEventHandler()
// ----------------------------------------------------------------------------
//
EXPORT_C void CXnExtRenderingPluginAdapter::SetEventHandler(
        MXnExtEventHandler* /*aEventHandler*/ )
    {
    
    }

// ----------------------------------------------------------------------------
// CXnExtRenderingPluginAdapter::SetDataL()
// ----------------------------------------------------------------------------
//
EXPORT_C void CXnExtRenderingPluginAdapter::SetDataL( const TDesC8& /*aData*/,
    const TDesC& /*aType*/, TInt /*aIndex*/ )
    {
    
    }

// End of file