author | msekine <m.sekine@kthree.co.jp> |
Wed, 31 Mar 2010 00:04:55 +0900 | |
branch | RCL_3 |
changeset 12 | 613a5ff70823 |
child 15 | 2275db202402 |
permissions | -rw-r--r-- |
12
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
1 |
/* |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
2 |
* Copyright (c) 2010 Kanrikogaku Kenkyusho, Ltd. |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
3 |
* All rights reserved. |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
4 |
* This component and the accompanying materials are made available |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
5 |
* under the terms of the License "Eclipse Public License v1.0" |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
6 |
* which accompanies this distribution, and is available |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
8 |
* |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
9 |
* Initial Contributors: |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
10 |
* Kanrikogaku Kenkyusho, Ltd. - Initial contribution |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
11 |
* |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
12 |
* Contributors: |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
13 |
* |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
14 |
* Description: |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
15 |
* {Description of the file} |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
16 |
* |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
17 |
*/ |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
18 |
|
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
19 |
// Protection against nested includes |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
20 |
#ifndef DIRECTPRINTFLOATCAPABILITY_H |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
21 |
#define DIRECTPRINTFLOATCAPABILITY_H |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
22 |
|
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
23 |
// User includes |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
24 |
#include "directprintbasecapability.h" |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
25 |
|
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
26 |
/** |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
27 |
* |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
28 |
* Capability type for float type of settings |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
29 |
* |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
30 |
*/ |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
31 |
class CDirectPrintFloatCapability : public CDirectPrintBaseCapability |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
32 |
{ |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
33 |
public: // Constructors and destructors |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
34 |
|
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
35 |
/** |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
36 |
* Destructor |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
37 |
*/ |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
38 |
virtual ~CDirectPrintFloatCapability(); |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
39 |
|
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
40 |
public: // Methods derived from CBaseCapability |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
41 |
|
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
42 |
virtual HBufC* ListBoxTextL(); |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
43 |
virtual CDirectPrintBaseCapability* CloneL(); |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
44 |
virtual CAknSettingItem* SettingItemLC(TInt aIndex); |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
45 |
|
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
46 |
public: // New methods |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
47 |
|
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
48 |
/** |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
49 |
* Sets the values for denominator, numerator and |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
50 |
* maximum numerator. Initializes iRealValue at the same time |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
51 |
* |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
52 |
* @param aDenom Denominator |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
53 |
* @param aNumerator Current numerator |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
54 |
* @param aMaxNumerator Maximum numerator |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
55 |
* @return Error code |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
56 |
*/ |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
57 |
TInt SetValues( TInt aDenom, TInt aNumerator, TInt aMaxNumerator ); |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
58 |
|
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
59 |
/** |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
60 |
* Returns numerator |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
61 |
* @return numerator |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
62 |
*/ |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
63 |
TInt Numerator() const; |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
64 |
|
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
65 |
/** |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
66 |
* Returns denominator |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
67 |
* @return denominator |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
68 |
*/ |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
69 |
TInt Denominator() const; |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
70 |
|
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
71 |
private: // Data |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
72 |
|
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
73 |
// Denominator / Numerator pair |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
74 |
TInt iDenominator; |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
75 |
TInt iMaxNumerator; |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
76 |
|
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
77 |
TReal iRealValue; |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
78 |
}; |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
79 |
|
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
80 |
#endif // DIRECTPRINTFLOATCAPABILITY_H |
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
81 |
|
613a5ff70823
transfer from SFL repo (sfl/FCL/sf/app/printing/DirectPrint)
msekine <m.sekine@kthree.co.jp>
parents:
diff
changeset
|
82 |
// End of File |