author | William Roberts <williamr@symbian.org> |
Wed, 31 Mar 2010 12:27:01 +0100 | |
branch | Symbian2 |
changeset 3 | e1b950c65cb4 |
parent 2 | epoc32/include/conplugin.rh@2fe1408b6811 |
child 4 | 837f303aceeb |
permissions | -rw-r--r-- |
williamr@2 | 1 |
// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
williamr@2 | 2 |
// All rights reserved. |
williamr@2 | 3 |
// This component and the accompanying materials are made available |
williamr@2 | 4 |
// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
williamr@2 | 5 |
// which accompanies this distribution, and is available |
williamr@2 | 6 |
// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
williamr@2 | 7 |
// |
williamr@2 | 8 |
// Initial Contributors: |
williamr@2 | 9 |
// Nokia Corporation - initial contribution. |
williamr@2 | 10 |
// |
williamr@2 | 11 |
// Contributors: |
williamr@2 | 12 |
// |
williamr@2 | 13 |
// Description: |
williamr@2 | 14 |
// HEADER INFO |
williamr@2 | 15 |
// Describes the converter. |
williamr@2 | 16 |
// |
williamr@2 | 17 |
// |
williamr@2 | 18 |
|
williamr@2 | 19 |
|
williamr@2 | 20 |
|
williamr@2 | 21 |
/** |
williamr@2 | 22 |
@publishedAll |
williamr@2 | 23 |
@released |
williamr@2 | 24 |
*/ |
williamr@2 | 25 |
STRUCT CONARC_RESOURCE_FILE |
williamr@2 | 26 |
{ |
williamr@2 | 27 |
/** Future use, do not use */ |
williamr@2 | 28 |
LLINK extension = 0; |
williamr@2 | 29 |
// |
williamr@2 | 30 |
LEN WORD STRUCT converter_list[]; // Converter_data |
williamr@2 | 31 |
} |
williamr@2 | 32 |
|
williamr@2 | 33 |
STRUCT CONVERTER_DATA |
williamr@2 | 34 |
/** Describes a converter within a converter DLL. |
williamr@2 | 35 |
|
williamr@2 | 36 |
@publishedAll |
williamr@2 | 37 |
@released */ |
williamr@2 | 38 |
{ |
williamr@2 | 39 |
/** Future use, do not use */ |
williamr@2 | 40 |
LLINK extension = 0; |
williamr@2 | 41 |
/** The UID of the converter. */ |
williamr@2 | 42 |
LONG conv_uid; |
williamr@2 | 43 |
// |
williamr@2 | 44 |
/** Array of MIME resources describing the data types that the converter can convert. |
williamr@2 | 45 |
|
williamr@2 | 46 |
Target type: MIME */ |
williamr@2 | 47 |
LEN WORD STRUCT from_list[]; // Mime Type |
williamr@2 | 48 |
/** Array of MIME resources describing the data types to which the converter can convert. |
williamr@2 | 49 |
|
williamr@2 | 50 |
Target type: MIME */ |
williamr@2 | 51 |
LEN WORD STRUCT to_list[]; // Mime Type |
williamr@2 | 52 |
// |
williamr@2 | 53 |
} |
williamr@2 | 54 |
|
williamr@2 | 55 |
/** |
williamr@2 | 56 |
@publishedAll |
williamr@2 | 57 |
@released |
williamr@2 | 58 |
*/ |
williamr@2 | 59 |
#define KMaxMimeType 256 |
williamr@2 | 60 |
|
williamr@2 | 61 |
/** |
williamr@2 | 62 |
@publishedAll |
williamr@2 | 63 |
@released |
williamr@2 | 64 |
*/ |
williamr@2 | 65 |
#define KMaxTranslation 50 |
williamr@2 | 66 |
|
williamr@2 | 67 |
STRUCT MIME |
williamr@2 | 68 |
/** Describes a data type that a converter can convert to or from. |
williamr@2 | 69 |
|
williamr@2 | 70 |
@publishedAll |
williamr@2 | 71 |
@released */ |
williamr@2 | 72 |
{ |
williamr@2 | 73 |
/** Future use, do not use */ |
williamr@2 | 74 |
LLINK extension = 0; |
williamr@2 | 75 |
/** The supported MIME type, e.g. text/html. */ |
williamr@2 | 76 |
LTEXT8 type(KMaxMimeType); |
williamr@2 | 77 |
/** Array of LANG_DATA resources giving localised human-readable names for the MIME type. |
williamr@2 | 78 |
|
williamr@2 | 79 |
Target type: LANG_DATA */ |
williamr@2 | 80 |
LEN WORD STRUCT lang_list[] ; //lang_data |
williamr@2 | 81 |
} |
williamr@2 | 82 |
|
williamr@2 | 83 |
STRUCT LANG_DATA |
williamr@2 | 84 |
/** A localised human-readable name for a MIME type. |
williamr@2 | 85 |
|
williamr@2 | 86 |
@publishedAll |
williamr@2 | 87 |
@released */ |
williamr@2 | 88 |
{ |
williamr@2 | 89 |
/** Future use, do not use */ |
williamr@2 | 90 |
LLINK extension = 0; |
williamr@2 | 91 |
/** The ID of the language being used.Values should be as defined in TLanguage. */ |
williamr@2 | 92 |
WORD lang_id; |
williamr@2 | 93 |
/** The human-readable name for the MIME type. */ |
williamr@2 | 94 |
LTEXT translation(KMaxTranslation); |
williamr@2 | 95 |
} |