diff -r 000000000000 -r 09774dfdd46b internetradio2.0/mediaenginesrc/irmediaengineproxy.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/internetradio2.0/mediaenginesrc/irmediaengineproxy.cpp Mon Apr 19 14:01:53 2010 +0300 @@ -0,0 +1,41 @@ +/* +* Copyright (c) 2006-2007 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: ?Description +* +*/ + + +#include + +#include "iraacplayer.h" +#include "irmp3player.h" + +// Map the interface UIDs to implementation factory functions +// violates PC lint error :: Warning 611: Suspicious cast +const TImplementationProxy ImplementationTable[] = + { + IMPLEMENTATION_PROXY_ENTRY(0x200087E9,CIRMP3Player::NewL), + IMPLEMENTATION_PROXY_ENTRY(0x200087EA,CIRAACPlayer::NewL), + IMPLEMENTATION_PROXY_ENTRY(0x200087EB,CIRAACPlayer::NewL), + }; + +// Exported proxy for instantiation method resolution +// violates PC lint error 714-- not refrenced. +EXPORT_C const TImplementationProxy* ImplementationGroupProxy + (TInt& aTableCount) + { + aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); + return ImplementationTable; + } +