Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <ImageConstruct.h>
Link against: imageconversion.lib

Class CImageDecodeConstruct

class CImageDecodeConstruct : public CBase;

Description

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.

Derivation

Members

Defined in CImageDecodeConstruct:

Inherited from CBase:


Construction and destruction


~CImageDecodeConstruct()

IMPORT_C ~CImageDecodeConstruct();

Description

Destructor


CImageDecodeConstruct()

protected: IMPORT_C CImageDecodeConstruct();

Description

Default constructor


ConstructL()

protected: IMPORT_C void ConstructL();

Description

Second stage constructor. This should be called during construction of the derived class.

[Top]


Member functions


ImplementationUid()const

IMPORT_C TUid ImplementationUid() const;

Description

Returns the decoder implementation UID.

Return value

TUid

The implementation UID.


NewDecoderL()const

IMPORT_C virtual CImageDecoder* NewDecoderL() const;

Description

Default version creates a basic CImageDecoder

Return value

CImageDecoder *

A pointer to a fully constructed CImageDecoder


NewPluginL()const

virtual CImageDecoderPlugin* NewPluginL() const=0;

Description

Creates a new concrete CImageDecoderPlugin object.

This is a pure virtual function that each derived class must implement.

Return value

CImageDecoderPlugin *

A pointer to a fully constructed CImageDecoderPlugin.


RequestThread()const

IMPORT_C virtual TBool RequestThread() const;

Description

Requests a threaded decode.

The default version of the virtual function returns EFalse, that is, it does not request a threaded decode.

Return value

TBool

ETrue a threaded decode is requested, otherwise, EFalse.