epoc32/include/biftool2.rh
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 0 061f57f2323e
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     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
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // Contains definitions for the resource files that are input to BIO Information Files (BIF)
    15 // 
    16 //
    17 
    18 //
    19 // Constants, must match those in BIF.H
    20 #define KUidUseNoApp		0x00000000	
    21 #define KUidUseDefaultApp	0x100052b2		
    22 #define KMaxDescription		128
    23 #define KMaxFileExtension	10
    24 #define KMaxFilename		256		// must match KMaxFileName in E32std.h
    25 #define KMaxIDText		128
    26 #define KCharSetDefault		0x10003b10	// ISO-8859-1 is default, must match CharConv component
    27 
    28 
    29 STRUCT BIO_INFO_FILE
    30 	{
    31 	LONG message_type_uid=0x00000000;	// Must not be left as default value
    32 	LTEXT message_parser_name(KMaxFilename)=""; // Message parser name
    33 
    34 	LONG message_app_uid=KUidUseNoApp;	// Can be KUidUseNoApp, KUidUseDefaultApp or the uid of an app
    35 
    36 	LTEXT message_appctrl_name(KMaxFilename) = ""; // Message Application controller name
    37 
    38 	LTEXT description(KMaxDescription)="default description"; 	// Used to set subject text of message
    39 	LTEXT file_extension(KMaxFileExtension)=""; 
    40 
    41 	WORD general_data1=0x0000;		// Bio message type specific and/or future expansion
    42 	WORD general_data2=0x0000;		// Bio message type specific and/or future expansion
    43 	WORD general_data3=0x0000;		// Bio message type specific and/or future expansion
    44 
    45 	LTEXT icons_filename(KMaxFilename)="";	// filename of MBM holding icons
    46 	LEN WORD WORD icon_zoom_levels[];	// must list zoom levels of icons in the order that the 
    47 						// icons are store in the MBM
    48 
    49 	LEN WORD STRUCT ids[];			// array of ID
    50 	}
    51 
    52 enum ID_TYPE		// Must match TIDType in BIF.H
    53 	{
    54 	EUnknown,
    55 	EIana,
    56 	ENbs,
    57 
    58 	//Receiving over WDP
    59 	EWap,
    60 	EWapSecure,
    61 
    62 	//Receiving over WSP
    63 	EWsp,
    64 	EWspSecure
    65 	};
    66 
    67 enum ID_CONFIDENCE		// Must match TRecognitionConfidence in APMREC.H
    68 	{
    69 	ECertain=2147483647,	// KMaxTInt
    70 	EProbable=100,		
    71 	EPossible=0,		
    72 	EUnlikely=-100,		
    73 	ENotRecognized=-2147483647	// KMinTInt, should be -2147483648 but resource compiler won't allow it
    74 	};
    75 
    76 STRUCT ID							// Used by Bio message parser to id message
    77 	{
    78 	WORD type=EUnknown;				// ID_TYPE
    79 	LONG confidence=EPossible;		// ID_CONFIDENCE
    80 	LONG character_set=KCharSetDefault;	
    81 	LTEXT text(KMaxIDText)="";	
    82 	WORD port=0;	
    83 	WORD general_id_data=0x0000;		// Bio message type specific and/or future expansion
    84 	}