19
|
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:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
#ifndef DIRECTPRINTSTRINGIDS_H
|
|
20 |
#define DIRECTPRINTSTRINGIDS_H
|
|
21 |
|
|
22 |
#include <DirectPrintApp.rsg>
|
|
23 |
|
|
24 |
#include "directprintcapabilitycodes.h"
|
|
25 |
#include "printmessagecodes.h"
|
|
26 |
#include "directprintvariant.h"
|
|
27 |
|
|
28 |
const TInt KEmptyString( 0 );
|
|
29 |
|
|
30 |
// This table combines the capability IDs with strings so that they
|
|
31 |
// can be fetched from the resources
|
|
32 |
|
|
33 |
const TInt KConverterTableCount( 18 );
|
|
34 |
const TInt KConverterTableIndexCount( 2 );
|
|
35 |
const TInt KIDConverterTable[KConverterTableCount][KConverterTableIndexCount] =
|
|
36 |
{
|
|
37 |
{ EDirectPrintCapabLayout, R_QTN_STR_TEMPLATE } ,
|
|
38 |
{ EDirectPrintCapabQuality, R_QTN_STR_QUALITY },
|
|
39 |
{ EDirectPrintCapabQualityDefault, R_QTN_STR_QUAL_AUTO },
|
|
40 |
{ EDirectPrintCapabQualityNormal, R_QTN_STR_QUAL_NORMAL },
|
|
41 |
{ EDirectPrintCapabQualityDraft, R_QTN_STR_QUAL_DRAFT },
|
|
42 |
{ EDirectPrintCapabQualityFine, R_QTN_STR_QUAL_FINE },
|
|
43 |
{ EDirectPrintCapabAP, R_QTN_STR_ACCESS_POINT },
|
|
44 |
{ EDirectPrintCapabHost, R_QTN_STR_HOST },
|
|
45 |
{ EDirectPrintCapabPort, R_QTN_STR_PORT },
|
|
46 |
{ EDirectPrintCapabUser, R_QTN_STR_USER },
|
|
47 |
{ EDirectPrintCapabQue, R_QTN_STR_QUE },
|
|
48 |
{ EDirectPrintCapabExtent, R_QTN_STR_EXTENT },
|
|
49 |
{ EDirectPrintCapabExtent2, R_QTN_STR_EXTENT2 },
|
|
50 |
{ EDirectPrintCapabExtentSelect1, R_QTN_STR_EXTENT_SELECT1 },
|
|
51 |
{ EDirectPrintCapabExtentSelect2, R_QTN_STR_EXTENT_SELECT2 },
|
|
52 |
{ EDirectPrintCapabExtentSelect3, R_QTN_STR_EXTENT_SELECT3 },
|
|
53 |
{ EDirectPrintCapabExtentSelect4, R_QTN_STR_EXTENT_SELECT4 },
|
|
54 |
{ KEmptyString, R_EMPTY }
|
|
55 |
};
|
|
56 |
#endif // DIRECTPRINTSTRINGIDS_H
|
|
57 |
// End of File
|