|
||
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(const TDesC &)
Adds a directory to the list of directories to be scanned for printer models.CreatePrinterDriverL(TInt)
Creates an object for accessing the specified store that contains printer specif...ModelCount()const
Gets the number of printer models in the printer model list. NewL()
Constructs, and returns a pointer to a new instance of the printer model list in...ScanForModelsL()
Scans through through the list of directories for all .pdr files and generates a...UidToNum(TUid)const
Gets a printer model's index within the model list from its UID.operator[](TInt)
Gets printer model name.~CPdrModelList()
Virtual destructor. Frees resources owned by the object, prior to its destructio...Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...IMPORT_C static CPdrModelList* NewL();
Constructs, and returns a pointer to a new instance of the printer model list interface.
|
IMPORT_C virtual ~CPdrModelList();
Virtual destructor. Frees resources owned by the object, prior to its destruction.
IMPORT_C virtual TInt ModelCount() const;
Gets the number of printer models in the printer model list.
|
IMPORT_C 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.
|
|
IMPORT_C virtual 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.
|
|