#include <gdi.h>
class CPrinterModelList : public CBase |
Public Member Functions | |
---|---|
pure virtual TInt | ModelCount() |
pure virtual TInt | UidToNum(TUid) |
pure virtual const TPrinterModelEntry | operator[](TInt) |
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.
See also: CPdrModelList
TInt | ModelCount | ( | ) | const [pure virtual] |
Gets the number of printer models in the printer model list.
Returns: The number of printer models.
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.
Parameter | Description |
---|---|
anIndex | The index of the printer model within the array of printer models. Note that this number must be between zero and ModelCount(). |
Returns: Name of printer model, up to 32 characters long