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

  • CDirectGdiDriverInternal

Constructor & Destructor Documentation

CDirectGdiDriverInternal(RLibrary)

CDirectGdiDriverInternal(RLibraryaLibrary)[protected, inline]

Parameters

RLibrary aLibrary

Member Functions Documentation

CloseDrawableSource(TInt &)

voidCloseDrawableSource(TInt &aHandle)[pure virtual]

Parameters

TInt & aHandleA handle to a RDirectGdiDrawableSource object to be closed.

CloseImageTarget(TInt &)

voidCloseImageTarget(TInt &aHandle)[pure virtual]

Parameters

TInt & aHandleA handle to a RDirectGdiImageTarget object to be closed.

CreateDrawableSource(TInt &, const RSgDrawable &)

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

Parameters

TInt & aHandleHandle of the newly created drawable source.
const RSgDrawable & aRSgDrawableThe 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 & aHandleHandle of the newly created image target.
const RSgImage & aRSgImageThe RSgImage to use when creating the image target.

DestroyEngine(MDirectGdiEngine *)

voidDestroyEngine(MDirectGdiEngine *aEngine)[pure virtual]

Parameters

MDirectGdiEngine * aEngine

Finish()

voidFinish()[pure virtual]

Flush()

voidFlush()[pure virtual]

GetError()

TInt GetError()[pure virtual]

GetInterface(TUid, TAny *&)

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

Parameters

TUid aInterfaceId
TAny *& aInterface

Library()

RLibrary Library()const [inline]

New(CDirectGdiDriverInternal *&, RLibrary)

IMPORT_C TIntNew(CDirectGdiDriverInternal *&aInternal,
RLibraryaLibrary
)[static]

Parameters

CDirectGdiDriverInternal *& aInternal
RLibrary aLibrary

SetError(TInt)

voidSetError(TIntaErr)[pure virtual]

Parameters

TInt aErr

Member Data Documentation

const RLibrary iAdapterLibrary

const RLibraryiAdapterLibrary[private]

Handle to the DirectGDI adapter DLL owned by this thread.