|
Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
|
Printer model list interface. More...
#include <gdi.h>
Public Member Functions | |
| virtual TInt | ModelCount () const =0 |
| Gets the number of printer models in the printer model list. | |
| virtual const TPrinterModelEntry | operator[] (TInt anIndex)=0 |
| Gets printer model name. | |
| virtual TInt | UidToNum (TUid aModelUid) const =0 |
| Gets a printer models index within the model list from its UID. | |
Public Member Functions inherited from CBase | |
| CBase () | |
| Default constructor. | |
| virtual IMPORT_C | ~CBase () |
| Virtual destructor. | |
| TAny * | operator new (TUint aSize, TAny *aBase) __NO_THROW |
| Initialises the object to binary zeroes. | |
| TAny * | operator new (TUint aSize) __NO_THROW |
| Allocates the object from the heap and then initialises its contents to binary zeroes. | |
| TAny * | operator new (TUint aSize, TLeave) |
| Allocates the object from the heap and then initialises its contents to binary zeroes. | |
| TAny * | operator new (TUint aSize, TUint aExtraSize) __NO_THROW |
| Allocates the object from the heap and then initialises its contents to binary zeroes. | |
| TAny * | operator new (TUint aSize, TLeave, TUint aExtraSize) |
| Allocates the object from the heap and then initialises its contents to binary zeroes. | |
Additional Inherited Members | |
Static Public Member Functions inherited from CBase | |
| static IMPORT_C void | Delete (CBase *aPtr) |
| Deletes the specified object. | |
Protected Member Functions inherited from CBase | |
| virtual IMPORT_C TInt | Extension_ (TUint aExtensionId, TAny *&a0, TAny *a1) |
| Extension function. | |
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.
|
pure virtual |
Gets the number of printer models in the printer model list.
Implemented in CPdrModelList.
|
pure virtual |
Gets printer model name.
This is the name of the printer model at the specified index within the list of printer models.
| anIndex | The index of the printer model within the array of printer models. Note that this number must be between zero and ModelCount(). |
Implemented in CPdrModelList.
|
pure virtual |
Gets a printer models index within the model list from its UID.
| aModelUid | The UID of the printer model. |
Implemented in CPdrModelList.