ImagePrint/ImagePrintEngine/ImagePrintLibrary/inc/tprintcapability.h
branchRCL_3
changeset 21 d59c248c9d36
parent 0 d11fb78c4374
equal deleted inserted replaced
20:159fc2f68139 21:d59c248c9d36
       
     1 /*
       
     2 * Copyright (c) 2002-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 TPrintCapability class definition.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef TPRINTCAPABILITY_H
       
    20 #define TPRINTCAPABILITY_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 /**
       
    25  *	@brief A printer capability abstraction.
       
    26  *
       
    27  *	Class describing a capability (i.e. paper sizes or layouts) supported by a printing device.
       
    28  *	Published as part of the ImagePrint Server API. 
       
    29  */
       
    30  
       
    31 #define KMaxEnumAmount 20 
       
    32  
       
    33 class TPrintCapability
       
    34 	{
       
    35 	public:
       
    36 		enum ECapType
       
    37 			{
       
    38 			Int = 0,
       
    39 			Enum = 1,
       
    40 			Float = 2
       
    41 			};
       
    42 		
       
    43 		TInt					iCapabilityID;
       
    44 		ECapType				iType;
       
    45 		TInt					iDefaultValue;
       
    46 		TInt					iLow;
       
    47 		TInt					iHigh;
       
    48 		TInt					iEnumCount;
       
    49 		TInt					iEnumCodes[KMaxEnumAmount];
       
    50 	};
       
    51 
       
    52 #endif // TPRINTCAPABILITY_H
       
    53 
       
    54 //  End of File