DirectPrint/ImagePrintLibrary/inc/tprinter.h
changeset 19 2275db202402
parent 11 613a5ff70823
equal deleted inserted replaced
2:acc370d7f2f6 19:2275db202402
       
     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 the License "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 TPrinter class definition.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef TPRINTER_H
       
    20 #define TPRINTER_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 /**
       
    25  *	@brief A printer abstraction.
       
    26  *
       
    27  *	Class representing the basic properties of a printing device.
       
    28  *	Published as part of the ImagePrint Server API.
       
    29  */
       
    30 class TPrinter
       
    31 	{
       
    32 	public:
       
    33 		enum TPrinterProperty
       
    34 			{
       
    35 			Cached = 1,
       
    36 			SupportsPreview = 2
       
    37 			};
       
    38 		enum TPrinterVendor
       
    39 			{
       
    40 			EVendorNone = 0	// No Vendor
       
    41 			// Add other vendors
       
    42 			};
       
    43 		TInt		iPrinterID;
       
    44 		TBuf<84>	iDisplayName;
       
    45 		TUint		iProperties;
       
    46 		TUint		iProtocol;
       
    47 		TUint		iVendor;
       
    48 	};
       
    49 
       
    50 #endif // TPRINTER_H
       
    51 
       
    52 //  End of File