TAlfImageCommand Class Reference

class TAlfImageCommand : public TAlfObjectCommand

TAlfImageCommand is a command that operaters on an image visual. Usage:

        //Create Image command to set primary image for imagevisual
   TAlfImageCommand command( *imageVisual, *image, EAlfOpSetPrimaryImage );
  
  //Send command , Primary image will be set
   iEnv->Send( command, 1 );
       

Inherits from

Constructor & Destructor Documentation

TAlfImageCommand(CAlfImageVisual &, const TAlfImage &, TAlfOp)

IMPORT_C TAlfImageCommand ( CAlfImageVisual & aImageVisual,
const TAlfImage & aImage,
TAlfOp aOperation = EAlfOpSetPrimaryImage
)

Constructs a new image command.

Parameters

CAlfImageVisual & aImageVisual Image visual.
const TAlfImage & aImage Image.
TAlfOp aOperation = EAlfOpSetPrimaryImage Operation to do on the visual.

Member Functions Documentation

CommandExtension(const TUid &, TAny **)

IMPORT_C void CommandExtension ( const TUid & aExtensionUid,
TAny ** aExtensionParams
) [protected, virtual]

Parameters

const TUid & aExtensionUid
TAny ** aExtensionParams

ExecuteL(CAlfEnv &)

IMPORT_C void ExecuteL ( CAlfEnv & aEnv ) const [virtual]

Executes the command.

Parameters

CAlfEnv & aEnv The environment in which the command is being executed.

Image()

IMPORT_C const TAlfImage & Image ( ) const

Returns a reference to the image of the visual.

ImageVisual()

IMPORT_C CAlfImageVisual & ImageVisual ( ) const

Returns the visual that the command operates on.

Size()

IMPORT_C TInt Size ( ) const [virtual]

Returns the size of the command.

Member Data Documentation

TAlfImage iImage

TAlfImage iImage [private]

Image of the command.

TInt iSpare1

TInt iSpare1 [private]

TInt iSpare2

TInt iSpare2 [private]