Update contrib.
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
22 IMPORT_C CPrinterDevice* NewPrinterDeviceL();
24 class CPrintDrvDevice : public CPdrDevice
29 TInt CreateContext(CGraphicsContext*& aGc);
30 void CreateControlL(CPrinterPort* aPrinterPort);
33 class CPrintDrvControl : public CPdrControl
36 static CPrintDrvControl* NewL(CPdrDevice* aPdrDevice,CPrinterPort* aPrinterPort,CStreamStore& aStore,TStreamId aResourcesStreamId);
40 CPrintDrvControl(CPdrDevice* aPdrDevice,CPrinterPort* aPrinterPort);
41 void ConstructL(CStreamStore& aStore,TStreamId aResourcesStreamId);
43 void OutputTextL(const TPoint& aPoint,TInt aWidthInPixels,const TTextFormat& aTextFormat,const TDesC8& aString);