Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <GDI.H>
Link against: gdi.lib

Class TPrinterModelHeader

class TPrinterModelHeader;

Description

Information about a printer model.

An instance of this class consists of a TPrinterModelEntry and a stream ID, and is passed to CPrinterDevice::SetModel(const TPrinterModelHeader &,CStreamStore &).

Members

Defined in TPrinterModelHeader:

See also:


Member functions


InternalizeL(RReadStream &)

IMPORT_C void InternalizeL(RReadStream &aStream);

Description

Internalises a printer model header from a read stream.

The presence of this function means that the standard templated stream operator>>(RReadStream &,T &), defined in s32strm.h, is available to internalise objects of this class.

Parameters

RReadStream &aStream

The read stream.


ExternalizeL(RWriteStream &)const

IMPORT_C void ExternalizeL(RWriteStream &aStream) const;

Description

Externalises the printer model header to a write stream.

The presence of this function means that the standard templated stream operator<<(RWriteStream &,const T &), defined in s32strm.h, is available to externalise objects of this class.

Parameters

RWriteStream &aStream

The write stream.

[Top]


Member data


iEntry

TPrinterModelEntry iEntry;

Description

The printer model.


iModelDataStreamId

TStreamId iModelDataStreamId;

Description

The stream ID for model data.