lowlevellibsandfws/pluginfw/Framework/MultipleImageTest/MultipleImageExampleImpl5.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 17 Sep 2010 08:38:54 +0300
changeset 63 a117ad66e027
parent 0 e4d67989cc36
permissions -rw-r--r--
Revision: 201037 Kit: 201037

// Copyright (c) 2006-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:
//

#include "MultipleImageExampleInterface.h"
#include <ecom\ImplementationProxy.h>

/**
CMultipleImageInterface1 interface implementation.
@internalComponent
*/
class CMultipleImageImpl : public CMultipleImageInterface1
{
public:
	static CMultipleImageImpl* NewL();
	virtual ~CMultipleImageImpl();
	virtual TUid ImplId();

private:
	CMultipleImageImpl();
};

CMultipleImageImpl* CMultipleImageImpl::NewL()
	{
	CMultipleImageImpl* self= new (ELeave) CMultipleImageImpl;
	return self;
	}

CMultipleImageImpl::~CMultipleImageImpl()
	{
	}

CMultipleImageImpl::CMultipleImageImpl() :
	CMultipleImageInterface1()
	{
	}


TUid CMultipleImageImpl::ImplId()
	{
	return KUidMultipeImageImpl5;
	}

const TImplementationProxy ImplementationTable[] = 
	{
	//KUidMultipeImageImpl5.iUid = 0x10282310
	IMPLEMENTATION_PROXY_ENTRY(0x10282310, CMultipleImageImpl::NewL)
	};

EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
	{
	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
	return ImplementationTable;
	}