Location:
GDI.H
Link against: gdi.lib
class CPdrModelList : public CPrinterModelList;
Implements a printer model list interface for a collection of PDR files.
CBase
- Base class for all classes to be instantiated on the heap
CPrinterModelList
- Printer model list interface
CPdrModelList
- 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
:
Delete()
,
Extension_()
,
operator new()
static IMPORT_C CPdrModelList *NewL();
Constructs, and returns a pointer to a new instance of the printer model list interface.
|
virtual IMPORT_C ~CPdrModelList();
Virtual destructor. Frees resources owned by the object, prior to its destruction.
virtual IMPORT_C TInt ModelCount() const;
Gets the number of printer models in the printer model list.
|
virtual IMPORT_C 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 IMPORT_C TInt UidToNum(TUid aModelUid) const;
Gets a printer model's index within the model list from its UID.
|
|
IMPORT_C void AddDirectoryL(const TDesC &aDir);
Adds a directory to the list of directories to be scanned for printer models.
|
IMPORT_C CPrinterModelList *ScanForModelsL();
Scans through through the list of directories for all .pdr files and generates a list of printer models.
|
IMPORT_C CPrinterDriver *CreatePrinterDriverL(TInt anIndex);
Creates an object for accessing the specified store that contains printer specification data.
|
|