#include <icl/imageconstruct.h>
Link against: imageconversion.lib
class CImageDecodeConstruct : public CBase |
Public Member Functions | |
---|---|
~CImageDecodeConstruct() | |
IMPORT_C TUid | ImplementationUid() |
virtual IMPORT_C CImageDecoder * | NewDecoderL() |
pure virtual CImageDecoderPlugin * | NewPluginL() |
virtual IMPORT_C TBool | RequestThread() |
Protected Member Functions | |
---|---|
CImageDecodeConstruct() | |
IMPORT_C void | ConstructL() |
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 responsible for defining its own factory function to create instances of itself.
IMPORT_C void | ConstructL | ( | ) | [protected] |
Second stage constructor. This should be called during construction of the derived class.
IMPORT_C TUid | ImplementationUid | ( | ) | const |
Returns the decoder implementation UID.
IMPORT_C CImageDecoder * | NewDecoderL | ( | ) | const [virtual] |
Default version creates a basic CImageDecoder
CImageDecoderPlugin * | NewPluginL | ( | ) | const [pure virtual] |
Creates a new concrete CImageDecoderPlugin object.
This is a pure virtual function that each derived class must implement.
IMPORT_C TBool | RequestThread | ( | ) | const [virtual] |
Requests a threaded decode.
The default version of the virtual function returns EFalse, that is, it does not request a threaded decode.