epoc32/include/mw/conplugin.rh
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
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@4
     4
// under the terms of "Eclipse Public License v1.0"
williamr@2
     5
// which accompanies this distribution, and is available
williamr@4
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.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
 @publishedAll 
williamr@2
    21
 @released 
williamr@2
    22
*/
williamr@2
    23
STRUCT CONARC_RESOURCE_FILE
williamr@2
    24
	{
williamr@2
    25
	/** Future use, do not use */
williamr@2
    26
	LLINK extension = 0;
williamr@2
    27
	//
williamr@2
    28
	LEN WORD STRUCT converter_list[]; // Converter_data
williamr@2
    29
	}
williamr@2
    30
williamr@2
    31
STRUCT CONVERTER_DATA
williamr@2
    32
/** Describes a converter within a converter DLL.
williamr@2
    33
williamr@2
    34
@publishedAll 
williamr@2
    35
@released */
williamr@2
    36
	{
williamr@2
    37
	/** Future use, do not use */
williamr@2
    38
	LLINK extension = 0;
williamr@2
    39
	/** The UID of the converter. */
williamr@2
    40
	LONG conv_uid;
williamr@2
    41
	//
williamr@2
    42
	/** Array of MIME resources describing the data types that the converter can convert. 
williamr@2
    43
	
williamr@2
    44
	Target type: MIME */
williamr@2
    45
	LEN WORD STRUCT from_list[]; // Mime Type
williamr@2
    46
	/** Array of MIME resources describing the data types to which the converter can convert. 
williamr@2
    47
	
williamr@2
    48
	Target type: MIME */
williamr@2
    49
	LEN WORD STRUCT to_list[]; // Mime Type
williamr@2
    50
	//
williamr@2
    51
	}
williamr@2
    52
williamr@2
    53
/**
williamr@2
    54
@publishedAll 
williamr@2
    55
@released 
williamr@2
    56
*/
williamr@2
    57
#define KMaxMimeType 256
williamr@2
    58
williamr@2
    59
/**
williamr@2
    60
@publishedAll 
williamr@2
    61
@released 
williamr@2
    62
*/
williamr@2
    63
#define KMaxTranslation 50
williamr@2
    64
williamr@2
    65
STRUCT MIME
williamr@2
    66
/** Describes a data type that a converter can convert to or from.
williamr@2
    67
williamr@2
    68
@publishedAll 
williamr@2
    69
@released */
williamr@2
    70
	{
williamr@2
    71
	/** Future use, do not use */
williamr@2
    72
	LLINK extension = 0;
williamr@2
    73
	/** The supported MIME type, e.g. text/html. */
williamr@2
    74
	LTEXT8 type(KMaxMimeType);
williamr@2
    75
	/** Array of LANG_DATA resources giving localised human-readable names for the MIME type. 
williamr@2
    76
	
williamr@2
    77
	Target type: LANG_DATA */
williamr@2
    78
	LEN WORD STRUCT lang_list[] ; //lang_data
williamr@2
    79
	}
williamr@2
    80
williamr@2
    81
STRUCT LANG_DATA
williamr@2
    82
/** A localised human-readable name for a MIME type.
williamr@2
    83
williamr@2
    84
@publishedAll 
williamr@2
    85
@released */
williamr@2
    86
	{
williamr@2
    87
	/** Future use, do not use */
williamr@2
    88
	LLINK extension = 0;
williamr@2
    89
	/** The ID of the language being used.Values should be as defined in TLanguage. */
williamr@2
    90
	WORD lang_id;
williamr@2
    91
	/** The human-readable name for the MIME type. */
williamr@2
    92
	LTEXT	translation(KMaxTranslation);
williamr@2
    93
	}