diff -r 000000000000 -r 40261b775718 imagingandcamerafws/imagingunittest/testcodec/src/BadVerTestConvert.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/imagingandcamerafws/imagingunittest/testcodec/src/BadVerTestConvert.cpp Tue Feb 02 01:56:55 2010 +0200 @@ -0,0 +1,85 @@ +// Copyright (c) 1999-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 +#include +#include +#include +#include "BadVerTestCodec.h" +#include "TestPanic.h" +#include "TestDecs.h" +#include "TestUids.hrh" + +//_LIT(KBadVerTestPanicCategory, "BadVerTestConvertPlugin"); // EABI warning removal + + +// Global panic function +GLREF_C void Panic(TInt aError); + +// decoder. +CBadVerTestDecoder* CBadVerTestDecoder::NewL() + { + Panic(EIllegalPlugin); // we should never reach this plugin + return NULL; + } + +CBadVerTestDecoder::CBadVerTestDecoder() + { + } + +CBadVerTestDecoder::~CBadVerTestDecoder() + { + } + +void CBadVerTestDecoder::ImageType(TInt /*aFrameNumber*/, TUid& /*aImageType*/, TUid& /*aImageSubType*/) const + { + Panic(EIllegalPlugin); // we should never reach this plugin + } + +void CBadVerTestDecoder::ScanDataL() + { + } + +CFrameInfoStrings* CBadVerTestDecoder::FrameInfoStringsL(RFs& /*aFs*/, TInt /*aFrameNumber*/) + { + Panic(EIllegalPlugin); // we should never reach this plugin + return NULL; + } + +// encoder. +CBadVerTestEncoder* CBadVerTestEncoder::NewL() + { + Panic(EIllegalPlugin); // we should never reach this plugin + return NULL; + } + +CBadVerTestEncoder::CBadVerTestEncoder() + { + Panic(EIllegalPlugin); // we should never reach this plugin + } + +CBadVerTestEncoder::~CBadVerTestEncoder() + { + Panic(EIllegalPlugin); // we should never reach this plugin + } + +void CBadVerTestEncoder::PrepareEncoderL(const CFrameImageData* /*aFrameImageData*/) + { + } + +void CBadVerTestEncoder::UpdateHeaderL() + { + } +