|
Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
|
Printer port interface. More...
#include <gdi.h>
Public Member Functions | |
| virtual void | WriteRequest (const TDesC8 &aBuf, TRequestStatus &aRequestStatus)=0 |
| Writes data asynchronously to the printer port. | |
| virtual void | Cancel ()=0 |
| Cancels an outstanding WriteRequest() operation. | |
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 port interface.
This interface is used as the base class for the various types of printer port. New printer port classes should be derived from this class.After allocation and construction, a pointer to a concrete printer port should be passed to CPrintSetup::StartPrintL().
|
pure virtual |
Cancels an outstanding WriteRequest() operation.
|
pure virtual |
Writes data asynchronously to the printer port.
| aBuf | Data to be written to the port |
| aRequestStatus | A reference to the request status object. If the request is cancelled, this should be set to KErrCancel; if the request completes normally, this should be set to KErrNone. |