diff -r 9f5ae1728557 -r db3f5fa34ec7 messagingfw/biomsgfw/group/biftool2.rH --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/messagingfw/biomsgfw/group/biftool2.rH Wed Nov 03 22:41:46 2010 +0530 @@ -0,0 +1,87 @@ +// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// Contains definitions for the resource files that are input to BIO Information Files (BIF) +// +// + +// +// Constants, must match those in BIF.H +#define KUidUseNoApp 0x00000000 +#define KUidUseDefaultApp 0x100052b2 +#define KMaxDescription 128 +#define KMaxFileExtension 10 +#define KMaxFilename 256 // must match KMaxFileName in E32std.h +#define KMaxIDText 128 +#define KCharSetDefault 0x10003b10 // ISO-8859-1 is default, must match CharConv component + + +STRUCT BIO_INFO_FILE + { + LONG message_type_uid=0x00000000; // Must not be left as default value + LTEXT message_parser_name(KMaxFilename)=""; // Message parser name + + LONG message_app_uid=KUidUseNoApp; // Can be KUidUseNoApp, KUidUseDefaultApp or the uid of an app + + LTEXT message_appctrl_name(KMaxFilename) = ""; // Message Application controller name + + LTEXT description(KMaxDescription)="default description"; // Used to set subject text of message + LTEXT file_extension(KMaxFileExtension)=""; + + WORD general_data1=0x0000; // Bio message type specific and/or future expansion + WORD general_data2=0x0000; // Bio message type specific and/or future expansion + WORD general_data3=0x0000; // Bio message type specific and/or future expansion + + LTEXT icons_filename(KMaxFilename)=""; // filename of MBM holding icons + LEN WORD WORD icon_zoom_levels[]; // must list zoom levels of icons in the order that the + // icons are store in the MBM + + LEN WORD STRUCT ids[]; // array of ID + } + +enum ID_TYPE // Must match TIDType in BIF.H + { + EUnknown, + EIana, + ENbs, + + //Receiving over WDP + EWap, + EWapSecure, + + //Receiving over WSP + EWsp, + EWspSecure + }; + +enum ID_CONFIDENCE // Must match TRecognitionConfidence in APMREC.H + { + ECertain=2147483647, // KMaxTInt + EProbable=100, + EPossible=0, + EUnlikely=-100, + ENotRecognized=-2147483647 // KMinTInt, should be -2147483648 but resource compiler won't allow it + }; + +STRUCT ID // Used by Bio message parser to id message + { + WORD type=EUnknown; // ID_TYPE + LONG confidence=EPossible; // ID_CONFIDENCE + LONG character_set=KCharSetDefault; + LTEXT text(KMaxIDText)=""; + WORD port=0; + WORD general_id_data=0x0000; // Bio message type specific and/or future expansion + } + + +