CDirectGdiDriverInternal Class Reference

class CDirectGdiDriverInternal : public CBase

This class represents the body part of CDirectGdiDriver that defines the HAI. An adaptation must derive from this class and implement all the interfaces to provide the functionality required by the generic layer.

Inherits from

Constructor & Destructor Documentation

CDirectGdiDriverInternal(RLibrary)

CDirectGdiDriverInternal ( RLibrary aLibrary ) [protected, inline]

Parameters

RLibrary aLibrary

Member Functions Documentation

CloseDrawableSource(TInt &)

void CloseDrawableSource ( TInt & aHandle ) [pure virtual]

Parameters

TInt & aHandle A handle to a RDirectGdiDrawableSource object to be closed.

CloseImageTarget(TInt &)

void CloseImageTarget ( TInt & aHandle ) [pure virtual]

Parameters

TInt & aHandle A handle to a RDirectGdiImageTarget object to be closed.

CreateDrawableSource(TInt &, const RSgDrawable &)

TInt CreateDrawableSource ( TInt & aHandle,
const RSgDrawable & aRSgDrawable
) [pure virtual]

Parameters

TInt & aHandle Handle of the newly created drawable source.
const RSgDrawable & aRSgDrawable The RSgDrawable object to use when creating the drawable source.

CreateEngine(MDirectGdiEngine *&)

TInt CreateEngine ( MDirectGdiEngine *& aEngine ) [pure virtual]

Parameters

MDirectGdiEngine *& aEngine

CreateImageTarget(TInt &, const RSgImage &)

TInt CreateImageTarget ( TInt & aHandle,
const RSgImage & aRSgImage
) [pure virtual]

Parameters

TInt & aHandle Handle of the newly created image target.
const RSgImage & aRSgImage The RSgImage to use when creating the image target.

DestroyEngine(MDirectGdiEngine *)

void DestroyEngine ( MDirectGdiEngine * aEngine ) [pure virtual]

Parameters

MDirectGdiEngine * aEngine

Finish()

void Finish ( ) [pure virtual]

Flush()

void Flush ( ) [pure virtual]

GetError()

TInt GetError ( ) [pure virtual]

GetInterface(TUid, TAny *&)

TInt GetInterface ( TUid aInterfaceId,
TAny *& aInterface
) [pure virtual]

Parameters

TUid aInterfaceId
TAny *& aInterface

Library()

RLibrary Library ( ) const [inline]

New(CDirectGdiDriverInternal *&, RLibrary)

IMPORT_C TInt New ( CDirectGdiDriverInternal *& aInternal,
RLibrary aLibrary
) [static]

Parameters

CDirectGdiDriverInternal *& aInternal
RLibrary aLibrary

SetError(TInt)

void SetError ( TInt aErr ) [pure virtual]

Parameters

TInt aErr

Member Data Documentation

const RLibrary iAdapterLibrary

const RLibrary iAdapterLibrary [private]

Handle to the DirectGDI adapter DLL owned by this thread.