equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 Kanrikogaku Kenkyusho, Ltd. |
|
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 * Kanrikogaku Kenkyusho, Ltd. - Initial contribution |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Contains the TDirectPrintCapability class definition. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // Protection against nested includes |
|
20 #ifndef DIRECTPRINTCAPABILITY_H |
|
21 #define DIRECTPRINTCAPABILITY_H |
|
22 |
|
23 // System includes |
|
24 #include <e32base.h> |
|
25 |
|
26 /** |
|
27 * @brief A printer capability abstraction. |
|
28 * |
|
29 * Class describing a capability (i.e. paper sizes or layouts) supported by a printing device. |
|
30 * Published as part of the ImagePrint Server API. |
|
31 */ |
|
32 |
|
33 #define KMaxEnumAmount 20 |
|
34 |
|
35 class TDirectPrintCapability |
|
36 { |
|
37 public: |
|
38 enum ECapType |
|
39 { |
|
40 Int = 0, |
|
41 Enum = 1, |
|
42 Float = 2, |
|
43 Text = 3 |
|
44 }; |
|
45 |
|
46 TInt iCapabilityID; |
|
47 ECapType iType; |
|
48 TInt iDefaultValue; |
|
49 TInt iLow; |
|
50 TInt iHigh; |
|
51 TInt iEnumCount; |
|
52 TInt iEnumCodes[KMaxEnumAmount]; |
|
53 }; |
|
54 |
|
55 #endif // DIRECTPRINTCAPABILITY_H |
|
56 |
|
57 // End of File |