diff -r 000000000000 -r dd21522fd290 webengine/osswebengine/WebCore/platform/symbian/bitmap/SyncDecodeThread.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webengine/osswebengine/WebCore/platform/symbian/bitmap/SyncDecodeThread.h Mon Mar 30 12:54:55 2009 +0300 @@ -0,0 +1,65 @@ +/* +* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "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: +* +*/ + + +#ifndef SYNCDECODETHREAD_H +#define SYNCDECODETHREAD_H + +// INCLUDES + +#include + +class BmElem; +class CMaskedBitmap; +// CLASS DECLARATION +/** +* CSynDecodeThread +* +* Implementation of file based image class. +* @lib IHL.lib +* @since 3.0 +*/ + +class CSynDecodeThread : public CBase + { + public: // Constructors and destructor + + static CSynDecodeThread* NewL(); + virtual ~CSynDecodeThread(); + + public: + + TInt Decode(const TDesC8& aData, TRequestStatus* aRequestStatus); + void Handle( TInt& aBitmapHandle, TInt& aMaskHandle ); + + private: // Private constructors + + CSynDecodeThread(); + void ConstructL(); + static TInt ScaleInThread(TAny *aPtr); + + private: // Data + + // Image status & state + BmElem* iElem; + RThread iDecoderThread; + TBool iUp; + }; + +#endif // SYNCDECODETHREAD_H + +// End of File