diff -r 1882882c7f9c -r e52958d06c29 svgtviewer/SvgtViewerPlugin/SVGCodecSrc/SVGProxy.cpp --- a/svgtviewer/SvgtViewerPlugin/SVGCodecSrc/SVGProxy.cpp Tue May 25 12:28:38 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,63 +0,0 @@ -/* -* Copyright (c) 2005 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: This file implements the SVGT proxy for resolving plugins -* -*/ - - -#include "SVGProxy.h" -#include -#include -#include "SVGImageCodecUIDs.hrh" -#include "SVGConvert.h" - -// ============================ MEMBER FUNCTIONS =============================== - -// ----------------------------------------------------------------------------- -// CSvgDecodeConstruct::NewL -// Static constructor. Returns the pointer to the CSvgDecodeConstruct -// ----------------------------------------------------------------------------- -// -CSvgDecodeConstruct* CSvgDecodeConstruct::NewL() - { - CSvgDecodeConstruct* self = new (ELeave) CSvgDecodeConstruct; - CleanupStack::PushL(self); - self->ConstructL(); - CleanupStack::Pop(self); - return self; - } - -// ----------------------------------------------------------------------------- -// CSvgDecodeConstruct::NewPluginL -// Creates a new concrete CImageDecoderPlugin object. -// This is a pure virtual function that each derived class must implement. -// ----------------------------------------------------------------------------- -// -CImageDecoderPlugin* CSvgDecodeConstruct::NewPluginL() const - { - return CSvgDecoder::NewL(); - } - -// Exported proxy for instantiation method resolution -// Define the Implementation UIDs for SVG decoder -const TImplementationProxy ImplementationTable[] = - { - IMPLEMENTATION_PROXY_ENTRY(KSVGDecoderImplementationUidValue, CSvgDecodeConstruct::NewL) - }; - -EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) - { - aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); - return ImplementationTable; - }