ImagePrint/ImagePrintEngine/DeviceProtocols/dpof/inc/cprinterelement.h
branchRCL_3
changeset 21 d59c248c9d36
parent 0 d11fb78c4374
equal deleted inserted replaced
20:159fc2f68139 21:d59c248c9d36
       
     1 /*
       
     2 * Copyright (c) 2004-2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Contains the CPrinterElement class definition and the Transport enum.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CPRINTERELEMENT_H
       
    20 #define CPRINTERELEMENT_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 #include "tprinter.h"
       
    25 #include "cprintercapabilities.h"
       
    26 
       
    27 /// Possible transports for a print job.
       
    28 enum Transport
       
    29 	{
       
    30 	BPPTrans,
       
    31 	DPOFTrans
       
    32 	};
       
    33 
       
    34 class CPrinterElement : public CBase
       
    35 	{
       
    36 	public:
       
    37 		~CPrinterElement();
       
    38 		static CPrinterElement* NewLC();
       
    39 
       
    40 	private:
       
    41 		CPrinterElement();
       
    42 
       
    43 	public:
       
    44 		Transport	iTransport;
       
    45 		TPrinter	iPrinter;
       
    46 		TInt		iTransportData;
       
    47 		TInt		iPrinterClass;
       
    48 		CPrinterCapabilities* iPrinterCapabilities;
       
    49 	};
       
    50 
       
    51 #endif // CPRINTERELEMENT_H
       
    52 
       
    53 //  End of File