Location:
ImageConstruct.h
Link against: imageconversion.lib
class CImageDecodeConstruct : public CBase;
Provides functions related to constructing decoders.
Objects of this class are loaded by ECOM, and it is this class which is responsible for instantiating the decoder plugins. Plugin writers must derive their own plugin specific variants. The derived class is resposible for defining its own factory function to create instances of itself.
CBase
- Base class for all classes to be instantiated on the heap
CImageDecodeConstruct
- Provides functions related to constructing decoders
Defined in CImageDecodeConstruct
:
CImageDecodeConstruct()
, ConstructL()
, ImplementationUid()
, NewDecoderL()
, NewPluginL()
, RequestThread()
, ~CImageDecodeConstruct()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
protected: IMPORT_C void ConstructL();
Second stage constructor. This should be called during construction of the derived class.
IMPORT_C TUid ImplementationUid() const;
Returns the encoder implementation UID.
|
virtual IMPORT_C CImageDecoder *NewDecoderL() const;
Default version creates a basic CImageDecoder
|
virtual CImageDecoderPlugin *NewPluginL() const=0;
Creates a new concrete CImageDecoderPlugin
object.
This is a pure virtual function that each derived class must implement.
|
virtual IMPORT_C TBool RequestThread() const;
Requests a threaded decode.
The default version of the virtual function returns EFalse, that is, it does not request a threaded decode.
|