epoc32/include/biftool2.rh
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
     1.1 --- a/epoc32/include/biftool2.rh	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/biftool2.rh	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,84 @@
     1.4 -biftool2.rh
     1.5 +// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +// All rights reserved.
     1.7 +// This component and the accompanying materials are made available
     1.8 +// 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
     1.9 +// which accompanies this distribution, and is available
    1.10 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 +//
    1.12 +// Initial Contributors:
    1.13 +// Nokia Corporation - initial contribution.
    1.14 +//
    1.15 +// Contributors:
    1.16 +//
    1.17 +// Description:
    1.18 +// Contains definitions for the resource files that are input to BIO Information Files (BIF)
    1.19 +// 
    1.20 +//
    1.21 +
    1.22 +//
    1.23 +// Constants, must match those in BIF.H
    1.24 +#define KUidUseNoApp		0x00000000	
    1.25 +#define KUidUseDefaultApp	0x100052b2		
    1.26 +#define KMaxDescription		128
    1.27 +#define KMaxFileExtension	10
    1.28 +#define KMaxFilename		256		// must match KMaxFileName in E32std.h
    1.29 +#define KMaxIDText		128
    1.30 +#define KCharSetDefault		0x10003b10	// ISO-8859-1 is default, must match CharConv component
    1.31 +
    1.32 +
    1.33 +STRUCT BIO_INFO_FILE
    1.34 +	{
    1.35 +	LONG message_type_uid=0x00000000;	// Must not be left as default value
    1.36 +	LTEXT message_parser_name(KMaxFilename)=""; // Message parser name
    1.37 +
    1.38 +	LONG message_app_uid=KUidUseNoApp;	// Can be KUidUseNoApp, KUidUseDefaultApp or the uid of an app
    1.39 +
    1.40 +	LTEXT message_appctrl_name(KMaxFilename) = ""; // Message Application controller name
    1.41 +
    1.42 +	LTEXT description(KMaxDescription)="default description"; 	// Used to set subject text of message
    1.43 +	LTEXT file_extension(KMaxFileExtension)=""; 
    1.44 +
    1.45 +	WORD general_data1=0x0000;		// Bio message type specific and/or future expansion
    1.46 +	WORD general_data2=0x0000;		// Bio message type specific and/or future expansion
    1.47 +	WORD general_data3=0x0000;		// Bio message type specific and/or future expansion
    1.48 +
    1.49 +	LTEXT icons_filename(KMaxFilename)="";	// filename of MBM holding icons
    1.50 +	LEN WORD WORD icon_zoom_levels[];	// must list zoom levels of icons in the order that the 
    1.51 +						// icons are store in the MBM
    1.52 +
    1.53 +	LEN WORD STRUCT ids[];			// array of ID
    1.54 +	}
    1.55 +
    1.56 +enum ID_TYPE		// Must match TIDType in BIF.H
    1.57 +	{
    1.58 +	EUnknown,
    1.59 +	EIana,
    1.60 +	ENbs,
    1.61 +
    1.62 +	//Receiving over WDP
    1.63 +	EWap,
    1.64 +	EWapSecure,
    1.65 +
    1.66 +	//Receiving over WSP
    1.67 +	EWsp,
    1.68 +	EWspSecure
    1.69 +	};
    1.70 +
    1.71 +enum ID_CONFIDENCE		// Must match TRecognitionConfidence in APMREC.H
    1.72 +	{
    1.73 +	ECertain=2147483647,	// KMaxTInt
    1.74 +	EProbable=100,		
    1.75 +	EPossible=0,		
    1.76 +	EUnlikely=-100,		
    1.77 +	ENotRecognized=-2147483647	// KMinTInt, should be -2147483648 but resource compiler won't allow it
    1.78 +	};
    1.79 +
    1.80 +STRUCT ID							// Used by Bio message parser to id message
    1.81 +	{
    1.82 +	WORD type=EUnknown;				// ID_TYPE
    1.83 +	LONG confidence=EPossible;		// ID_CONFIDENCE
    1.84 +	LONG character_set=KCharSetDefault;	
    1.85 +	LTEXT text(KMaxIDText)="";	
    1.86 +	WORD port=0;	
    1.87 +	WORD general_id_data=0x0000;		// Bio message type specific and/or future expansion
    1.88 +	}