Location:
gdi.h
Link against:
gdi.lib
CPdrModelList
Supported from 5.0
Implements a printer model list interface for a collection of PDR files.
|
Defined in CPdrModelList
:
AddDirectoryL()
, CreatePrinterDriverL()
, ModelCount()
, NewL()
, ScanForModelsL()
, UidToNum()
, operator[]()
, ~CPdrModelList()
Inherited from CBase
:
operator new()
static CPdrModelList* NewL();
Constructs, and returns a pointer to a new instance of the printer model list interface.
|
~CPdrModelList();
Destructor.
It frees resources owned by the object, prior to its destruction.
virtual TInt ModelCount() const;
Gets the number of printer models in the printer model list.
|
virtual const TPrinterModelEntry operator[](TInt anIndex);
Gets printer model name.
This is the name of the printer model at the specified index within the list of printer models.
|
|
virtual TInt UidToNum(TUid aModelUid) const;
Gets a printer model’s index within the model list from its UID.
|
|
void AddDirectoryL(const TDesC& aDir);
Adds a directory to the list of directories to be scanned for printer models.
|
CPrinterModelList* ScanForModelsL();
Scans through through the list of directories for all .pdr files and generates a list of printer models.
|
CPrinterDriver* CreatePrinterDriverL(TInt anIndex);
Creates an object for accessing the specified store that contains printer specification data.
|
|