class CPrinterModelList : public CBase |
Printer model list interface.
Functions provided by this abstract base class can be used to extract printer model information from the list of printer models. This class would typically be used to implement printer selection in a dialog box.
Public Member Functions | |
---|---|
TInt | ModelCount() |
TInt | UidToNum(TUid) |
const TPrinterModelEntry | operator[](TInt) |
TInt | ModelCount | ( | ) | const [pure virtual] |
Gets the number of printer models in the printer model list.
The number of printer models.
TInt | UidToNum | ( | TUid | aModelUid | ) | const [pure virtual] |
Gets a printer models index within the model list from its UID.
The index of the printer model within the array of printer models.
TUid aModelUid | The UID of the printer model. |
const TPrinterModelEntry | operator[] | ( | TInt | anIndex | ) | [pure virtual] |
Gets printer model name.
This is the name of the printer model at the specified index within the list of printer models.
Name of printer model, up to 32 characters long
TInt anIndex | The index of the printer model within the array of printer models. Note that this number must be between zero and ModelCount(). |