Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
29 class CFilePrinterPort : public CPrinterPort
32 IMPORT_C static CFilePrinterPort* NewL(const TDesC& aFileName);
33 IMPORT_C ~CFilePrinterPort();
34 void WriteRequest(const TDesC8& aBuf,TRequestStatus& aRequestStatus);
36 inline const TDesC& FileName() { return iFileName; }
39 CFilePrinterPort(const TDesC& aFileName);
51 class TOutputHandshake
54 IMPORT_C TOutputHandshake();
55 IMPORT_C void InternalizeL(RReadStream& aStream);
56 IMPORT_C void ExternalizeL(RWriteStream& aStream) const;
68 class TSerialPrinterPortConfig
71 IMPORT_C TSerialPrinterPortConfig();
72 IMPORT_C void InternalizeL(RReadStream& aStream);
73 IMPORT_C void ExternalizeL(RWriteStream& aStream) const;
80 TOutputHandshake iHandshake;
87 class CCommPrinterPort : public CPrinterPort
90 IMPORT_C static CCommPrinterPort* NewL(const TDesC& aCsyName, const TDesC& aPortName, const TSerialPrinterPortConfig& aConfig, const TFifo aFifo = EFifoEnable);
91 IMPORT_C ~CCommPrinterPort();
92 IMPORT_C void WriteRequest(const TDesC8& aBuf, TRequestStatus& aRequestStatus);
93 IMPORT_C void Cancel();
95 IMPORT_C void ConstructL(const TDesC& aCsyName, const TDesC& aPortName, const TSerialPrinterPortConfig& aConfig, const TFifo aFifo = EFifoEnable);
96 IMPORT_C CCommPrinterPort();
103 * @internalTechnology
104 * Internal to Symbian
106 class CSerialPrinterPort : public CCommPrinterPort
109 IMPORT_C static CSerialPrinterPort* NewL(const TDesC& aPortName, const TSerialPrinterPortConfig& aConfig);
110 IMPORT_C ~CSerialPrinterPort();
111 IMPORT_C TSerialPrinterPortConfig Config(); // returns the current port config
113 void ConstructL(const TDesC& aPortName);
114 CSerialPrinterPort(const TSerialPrinterPortConfig& aConfig);
116 TSerialPrinterPortConfig iConfig;
120 * @internalTechnology
121 * Internal to Symbian
123 class CParallelPrinterPort : public CCommPrinterPort
126 IMPORT_C static CParallelPrinterPort* NewL(const TDesC& aPortName);
127 IMPORT_C ~CParallelPrinterPort();
129 void ConstructL(const TDesC& aPortName);
130 CParallelPrinterPort();
134 * @internalTechnology
135 * Internal to Symbian
137 class CIrdaPrinterPort : public CCommPrinterPort
140 IMPORT_C static CIrdaPrinterPort* NewL();
141 IMPORT_C ~CIrdaPrinterPort();
148 * @internalTechnology
149 * Internal to Symbian
151 class CEpocConnectPort : public CCommPrinterPort
154 IMPORT_C static CEpocConnectPort* NewL();
155 IMPORT_C ~CEpocConnectPort();