webengine/osswebengine/WebCore/platform/symbian/bitmap/SyncDecodeThread.h
changeset 10 a359256acfc6
parent 0 dd21522fd290
equal deleted inserted replaced
5:10e98eab6f85 10:a359256acfc6
    23 
    23 
    24 #include <e32base.h>
    24 #include <e32base.h>
    25 
    25 
    26 class BmElem;
    26 class BmElem;
    27 class CMaskedBitmap;
    27 class CMaskedBitmap;
       
    28 class CSynDecoder;
    28 // CLASS DECLARATION
    29 // CLASS DECLARATION
    29 /**
    30 /**
    30 *  CSynDecodeThread
    31 *  CSynDecodeThread
    31 *
    32 *
    32 *  Implementation of file based image class.
    33 *  Implementation of file based image class.
    41         static CSynDecodeThread* NewL();
    42         static CSynDecodeThread* NewL();
    42         virtual ~CSynDecodeThread();
    43         virtual ~CSynDecodeThread();
    43 
    44 
    44   public:
    45   public:
    45 
    46 
    46         TInt Decode(const TDesC8& aData, TRequestStatus* aRequestStatus);
    47         TInt Decode(const TDesC8& aData);
    47         void Handle( TInt& aBitmapHandle, TInt& aMaskHandle );
    48         void Handle( TInt& aBitmapHandle, TInt& aMaskHandle );
    48         
    49         
    49   private: // Private constructors
    50   private: // Private constructors
    50 
    51 
    51         CSynDecodeThread();
    52         CSynDecodeThread();
    53         static  TInt ScaleInThread(TAny *aPtr);
    54         static  TInt ScaleInThread(TAny *aPtr);
    54 
    55 
    55   private: // Data
    56   private: // Data
    56 
    57 
    57         // Image status & state
    58         // Image status & state
    58         BmElem* iElem;
       
    59         RThread iDecoderThread;
    59         RThread iDecoderThread;
    60         TBool iUp;
    60         static CSynDecoder* iSyncDecoder;
    61     };
    61     };
    62 
    62 
    63 #endif   // SYNCDECODETHREAD_H
    63 #endif   // SYNCDECODETHREAD_H
    64 
    64 
    65 // End of File
    65 // End of File