diff -r 000000000000 -r 094583676ce7 wvuing/wvuiave/AppRss/CAVariationNG.rss --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wvuing/wvuiave/AppRss/CAVariationNG.rss Thu Dec 17 08:41:52 2009 +0200 @@ -0,0 +1,1190 @@ +/* +* Copyright (c) 2002-2005 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: Main resource file of chat application +* +*/ + + +// Included to get RD_30_COMPATIBILITY_MODE flag +#include "impsbuilddefinitions.h" + +//---------------------------------------------------- +// VARIATION +// You can do resource-file based variation by setting the following number +// resources as you wish. +// +// RSC_CHAT_VARIATION_SCREENNAME_QUERY: +// ------------------------------------ +// Enable screen name query (1) or disable it (0). +// If 1, IM will ask for screen name when joining to or creating a group, +// with the default value defined by RSC_CHAT_VARIATION_SCREENNAME_DEFAULT. +// +// If 0, the query will not be shown. The default value will be taken from +// RSC_CHAT_VARIATION_SCREENNAME_DEFAULT. +// +// If you don't know whether you need this or not, it's OK to leave it enabled +// (1). +// +// This might be needed for some variation purposes. +// +// See also RSC_CHAT_VARIATION_HAVE_ALIAS +// See also RSC_CHAT_VARIATION_SCREENNAME_DEFAULT +//---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SCREENNAME_QUERY { value = 1; } + +// RSC_CHAT_VARIATION_SCREENNAME_DEFAULT: +// -------------------------------------- +// Override text used as default in screen name query. +// Possible values: Empty (0), Userid (1), Screen name from settings (2) +// or Alias (3). +// +// If you use Empty (0), make sure the server supports it. +// +// If you use SN from settings (2), and +// RSC_CHAT_VARIATION_SCREENNAME_SETTING is off (0), +// then an empty screen name will become the default. +// +// If you use Alias (3), and +// RSC_CHAT_VARIATION_HAVE_ALIAS is off (0), +// then an empty screen name will become the default. +// +// See also RSC_CHAT_VARIATION_SCREENNAME_QUERY +// See also RSC_CHAT_VARIATION_SCREENNAME_SETTING +//---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SCREENNAME_DEFAULT { value = 2; } + +// RSC_CHAT_VARIATION_SCREENNAME_SETTING: +// -------------------------------------- +// Enable screen name setting item support (1) or disable it (0). +// If 1, the setting item for screen name will be enabled in application +// settings. +// +// If you don't know whether you need this or not, it's OK to leave +// it enabled (1). +// +// This might be needed for some variation purposes. +// +// See also RSC_CHAT_VARIATION_HAVE_ALIAS +// See also RSC_CHAT_VARIATION_SCREENNAME_QUERY +// See also RSC_CHAT_VARIATION_SCREENNAME_DEFAULT +//---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SCREENNAME_SETTING { value = 1; } + +// RSC_CHAT_VARIATION_HAVEGRANT: +// ----------------------------- +// Enable grant list support (1) or disable it (0). +// This will hide "Receive instant messages" setting item from application settings +// If you don't know whether you need this or not, it's OK to +// leave it enabled (1). This might be needed for some variation purposes. +//---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_HAVEGRANT { value = 1; } + +// RSC_CHAT_VARIATION_MODIFY_CONTACT_LIST: +// -------------------------------------------- +// Enable contact list modify support (1) or disable it (0). +// This will enable contact renaming +// If you don't know whether you need this or not, it's OK to +// leave it enabled (1). This might be needed for some variation purposes. +//---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_MODIFY_CONTACT_LIST { value = 1; } + +// RSC_CHAT_VARIATION_HIDE_WV: +// --------------------------- +// When 1, hides "wv:" part in the UI from all visible user ids and group ids, +// also hide the "wv:username" part of list ids. +// If you don't know whether you need this or not, it's OK to +// leave it disabled (0). This might be needed for some variation purposes. +//---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_HIDE_WV { value = 1; } + +// RSC_CHAT_VARIATION_FETCH_PRESENCE: +// ---------------------------------- +// When 1, does presence fetch after subscription and contact list changes +// also in automatic update mode. +// If you don't know whether you need this or not, it's OK to +// leave it disabled (0). This might be needed for some variation purposes. +//---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_FETCH_PRESENCE { value = 0; } + +// RSC_CHAT_VARIATION_HAVEPRESENCEAUTH: +// ------------------------------------ +// When 1, allow setting for Presence authorization. +// If 0, Presence authorization setting is hidden from IM application settings. +// This can be used with servers who do not support the Presence authorization. +// If you don't know whether you need this or not, it's OK +// to leave it enabled. +//---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_HAVEPRESENCEAUTH { value = 1; } + +// RSC_CHAT_VARIATION_SEND_MSG_IGNORE_OFFLINE: +// ------------------------------------ +// When 1, ignore offline state when of contact when starting a conversation +// with the contact. In this case, the message can always be sent even if the +// contact is offline. +// If 0, the presence state is checked when starting the conversation and a note +// is shown for those contacts which are offline. If you don't know whether you +// need this or not, it's OK to leave it disabled (0). This might be needed for +// some variation purposes. +//---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SEND_MSG_IGNORE_OFFLINE { value = 0; } + +// RSC_CHAT_VARIATION_ALWAYSONLINE_AFTER_FIRST_LOGIN: +// ------------------------------------ +// When 1, sets current server as default server after first login. Also +// sets login type to always online in home network if user allows, else +// sets login type to application launch. +// If 0, no special actions related to first login to server. +//---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_ALWAYSONLINE_AFTER_FIRST_LOGIN { value = 1; } + +// RSC_CHAT_VARIATION_HAVE_ALIAS +// ----------------------------- +// Enable (1) or disable (0) support for alias attribute. +// If enabled, the alias is queried immediately after login. It will +// also be published into the server where other alias-supporting clients +// can get it. If disabled, the alias will not be used or queried. +// Enabling this (1) will also turn on the setting item in application settings +// for the alias. +// See RSC_CHAT_VARIATION_SCREENNAME_DEFAULT. +// See RSC_CHAT_VARIATION_SCREENNAME_QUERY +// +// The alias setting is independent from screenname setting. +// +// Alias requires support from server, so if you have a server with alias +// support, you can turn this on (1). Otherwise you should leave it +// to the default value of disabled (0). +//---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_HAVE_ALIAS { value = 0; } + +// RSC_CHAT_VARIATION_ALIAS_MANDATORY: +// ----------------------------------- +// Enable (1) or disable (0) requirement for alias. +// If enabled, the alias is mandatory for logging into server. Canceling the +// Alias query will cancel also the actual login. If disabled, the alias is +// optional and user is can login to server even without defining the alias. +// +// See RSC_CHAT_VARIATION_HAVE_ALIAS +// +// if RSC_CHAT_VARIATION_HAVE_ALIAS is disabled, then this flag has no effect. +// +// Default value is enabled (1) +//---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_ALIAS_MANDATORY { value = 1; } +// RSC_CHAT_VARIATION_MSISDN_SUPPORT +// ----------------------------- +// When this is enabled user can add contacts with MSISDN +// number from Phonebook to IM contacts. +// When adding a contact, it is searched from the service +// with MSISDN. To be able to support this the searching with +// MSISDN feature CHAT_VARIATION_SEARCH_PHONE needs +// to be supported.) +// Possible values: enabled (1) and disabled (0). +// As default this is enabled (1). +///------------------------------------------ +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_MSISDN_SUPPORT { value = 1; } + +// RSC_CHAT_VARIATION_ALLOW_EDIT_GROUP_PROPERTIES +// ---------------------------------------------- +// Enable (1) or disable (0) support for editing chat group properties. +// If enabled, the user can edit chat group properties via the options +// menu. If disabled, the option will be hidden and the properties dialog +// will not be accessable. +// The default value is enabled (1). +//---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_ALLOW_EDIT_GROUP_PROPERTIES { value = 1; } + +// RSC_CHAT_VARIATION_SIMPLE_GROUP_CREATION +// ---------------------------------------- +// Enable (1) or disable (0) support for simplified chat group creation. +// If enabled, the user is asked for contacts to be invited to the group. +// After that, the group will be created with default group properties. +// The default value is disabled (0). +//---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SIMPLE_GROUP_CREATION { value = 1; } + +// RSC_CHAT_VARIATION_LOCAL_ECHO_USED_IN_GROUP +// ---------------------------------------- +// Enable (1) or disable (0) support for local echo in group conversation. +// If enabled, sent messages in group will be echoed right after sending to group view. +// If sent message comes from server it is identified by sender and is not shown. +// If not enabled, only message coming from server is shown. +// This does not affect to whisper messages. +// The default value is enabled (1). +//---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_LOCAL_ECHO_USED_IN_GROUP { value = 1; } + +// RSC_CHAT_VARIATION_OWN_MSG_ICON +// ---------------------------------------- +// Enable (1) or disable (0) icon in front of own p2p messages. +// If enabled, there is shown an icon in front of sent p2p messages. +// If disabled, there is shown identification of sender in front of sent p2p messages. +// The default value is enabled (1). +//---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_OWN_MSG_ICON { value = 1; } + +// RSC_CHAT_VARIATION_MSG_ICON +// ---------------------------------------- +// Enable (1) or disable (0) icon in front of received p2p messages. +// If enabled, there is shown an icon in front of received p2p messages. +// If disabled, there is shown identification of sender in front of received p2p messages. +// The default value is enabled (1). +//---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_MSG_ICON { value = 1; } + +// RSC_CHAT_VARIATION_DEFAULT_MESSAGE_COLORS +// RSC_CHAT_VARIATION_COLOR_WHOLE_MESSAGE +// RSC_CHAT_VARIATION_MESSAGE_COLOR +// RSC_CHAT_VARIATION_OWN_MESSAGE_COLOR +// ---------------------------------------- +// If RSC_CHAT_VARIATION_DEFAULT_MESSAGE_COLORS is disabled (0), +// own messages are colored with RSC_CHAT_VARIATION_OWN_MESSAGE_COLOR +// and other messages are colored with RSC_CHAT_VARIATION_MESSAGE_COLOR. +// If RSC_CHAT_VARIATION_COLOR_WHOLE_MESSAGE is enabled, coloring is +// applied to whole message, otherwise coloring is applied only to +// nickname-part of messages. +// The default value for RSC_CHAT_VARIATION_DEFAULT_MESSAGE_COLORS is enabled (1). +// The default value for RSC_CHAT_VARIATION_COLOR_WHOLE_MESSAGE is disabled (0). +//---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_DEFAULT_MESSAGE_COLORS { value = 1; } +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_COLOR_WHOLE_MESSAGE { value = 1; } +RESOURCE COLOR RSC_CHAT_VARIATION_MESSAGE_COLOR { red = 255; green = 0; blue = 0; } +RESOURCE COLOR RSC_CHAT_VARIATION_OWN_MESSAGE_COLOR { red = 0; green = 0; blue = 255; } + +// RSC_CHAT_VARIATION_REACTIVE_PRESENCE_AUTH +// ----------------------------------------- +// Enable (1) or disable (0) support for reactive presence authorization. +// If enabled, the contact to be added is notified of the add contact operation +// and can deny or allow the showing of his presence to the sender, the sender +// being the one who was adding the contact in this case. +// The default value is disabled (0). +// ----------------------------------------- +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_REACTIVE_PRESENCE_AUTH { value = 1; } + +// RSC_CHAT_VARIATION_USERID_TEXTUAL_INPUTMODE: +// -------------------------------------------- +// Set the default input mode for all userid fields in IM. +// If enabled (1), input mode is textual. If disabled (0), input mode +// is numeric (0). +// If you don't know whether you need it or not, leave it enabled (1). +// This might be needed for some variation purposes. For example, for servers +// which support numeric user id fields, this setting can be turned to numeric +// (0) for greater usability. +//---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_USERID_TEXTUAL_INPUTMODE { value = 1; } + +// RSC_CHAT_VARIATION_HAVE_NICKNAME +// -------------------------------------------- +// When this is enabled, user is able to give nick names for +// all contacts in his contact list. If nick name use is not enabled, then nick +// name field is not available in the contact details view, nor the contact +// editing view. +// Possible values: enabled (1) and disabled (0). +// As default this is enabled. (1) +///---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_HAVE_NICKNAME { value = 1; } + +// RSC_CHAT_VARIATION_SEARCH_NAME +// -------------------------------------------- +// When this is enabled, user has an option to be able +// to search other chat users by name. +// To be able to support this feature the search functionality needs to be +// supported. Search feature is checked from the service in the login +// procedure, +// Possible values: enabled (1) and disabled (0). +// As default this is enabled (1). +///---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SEARCH_NAME { value = 1; } + +// RSC_CHAT_VARIATION_SEARCH_USERID +// -------------------------------------------- +// When this is enabled, user has an option to be able +// to search other chat users by user id. +// To be able to support this feature the search functionality needs to be +// supported. Search feature is checked from the service in the login +// procedure, +// Possible values: enabled (1) and disabled (0). +// As default this is enabled (1). +///---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SEARCH_USERID { value = 1; } + +// RSC_CHAT_VARIATION_SEARCH_PHONE +// -------------------------------------------- +// When this is enabled, user has an option to be able +// to search other chat users by phone number. +// To be able to support this feature the search functionality needs to be +// supported. Search feature is checked from the service in the login +// procedure, +// Possible values: enabled (1) and disabled (0). +// As default this is enabled (1). +///---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SEARCH_PHONE { value = 1; } + +// RSC_CHAT_VARIATION_SEARCH_EMAIL +// -------------------------------------------- +// When this is enabled, user has an option to be able +// to search other chat users by email address. +// To be able to support this feature the search functionality needs to be +// supported. Search feature is checked from the service in the login +// procedure, +// Possible values: enabled (1) and disabled (0). +// As default this is enabled (1). +///---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SEARCH_EMAIL { value = 1; } + +// RSC_CHAT_VARIATION_SEARCH_GROUPNAME +// -------------------------------------------- +// When this is enabled, user has an option to be able +// to search groups by group name. +// To be able to support this feature the search functionality needs to be +// supported. Search feature is checked from the service in the login +// procedure, +// Possible values: enabled (1) and disabled (0). +// As default this is enabled (1). +///---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SEARCH_GROUPNAME { value = 1; } + +// RSC_CHAT_VARIATION_SEARCH_GROUPTOPIC +// -------------------------------------------- +// When this is enabled, user has an option to be able +// to search groups by topic of the group. +// To be able to support this feature the search functionality needs to be +// supported. Search feature is checked from the service in the login +// procedure, +// Possible values: enabled (1) and disabled (0). +// As default this is enabled (1). +///---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SEARCH_GROUPTOPIC { value = 1; } + +// RSC_CHAT_VARIATION_SEARCH_GROUPMEMBER +// -------------------------------------------- +// When this is enabled, user has an option to be able +// to search groups by member of the group. +// To be able to support this feature the search functionality needs to be +// supported. Search feature is checked from the service in the login +// procedure, +// Possible values: enabled (1) and disabled (0). +// As default this is enabled (1). +///---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SEARCH_GROUPMEMBER { value = 1; } + +// RSC_CHAT_VARIATION_SEND_MSG_IGNORE_OFFLINE_NOTIFY +// -------------------------------------------- +// When enabled, messages can be sent to offline contacts, and user is notified +// (contact’s status is checked when user opens a conversation with an offline +// contact, and user is notified that the contact is offline. +// This cannot be supported same time with the feature +// Chat.Variation.Send.Msg.Ignore.Offline. +// Possible values: enabled (1) and disabled (0). +// As default this is not enabled (0). +///---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SEND_MSG_IGNORE_OFFLINE_NOTIFY { value = 1; } + +// RSC_CHAT_VARIATION_AUTOMATIC_STATUS_CHANGE +// ------------------------------------------ +// Automatic status change (When this is supported, +// user’s status is changed automatically from away to +// online, when user sends a message +// Possible values: enabled (1) and disabled (0). +// As default this is not enabled (0). +///---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_AUTOMATIC_STATUS_CHANGE{ value = 0; } + +// RSC_CHAT_VARIATION_WELCOME_NOTE +// ---------------------------------------------------- +// When this is enabled, there is shown a predefined +// welcome note after successfull login. +// Possible values: enabled (1) and disabled (0). +// As default this is not enabled (0). +///---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_WELCOME_NOTE { value = 0; } + +// RSC_CHAT_VARIATION_BLOCKING +// ---------------------------------------------------- +// This flag shows how to handle blocked contacts +// Possible values: +// 0 : remove from the list +// 1 : hide on the list +// 2 : leave on the list +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_BLOCKING { value = 1; } + +// RSC_CHAT_VARIATION_GROUP_TOPIC +// ---------------------------------------------------- +// This flag defines default group topic. +// Possible values: +// "" : empty +// qtn_chat_create_def_top : localised +// "Some variated string in here." : defined string +// ---------------------------------------------------- +// +RESOURCE TBUF RSC_CHAT_VARIATION_GROUP_TOPIC { buf = ""; } + +// RSC_CHAT_VARIATION_GROUP_WELCOME_NOTE +// ---------------------------------------------------- +// This flag defines default group welcome note. +// Possible values: +// "" : empty +// "Some variated string in here." : defined string +// ---------------------------------------------------- +// +RESOURCE TBUF RSC_CHAT_VARIATION_GROUP_WELCOME_NOTE { buf = ""; } + +// RSC_CHAT_VARIATION_GROUP_SIZE +// ---------------------------------------------------- +// This flag defines default size for room. +// Set as max amount of users in group. +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_GROUP_SIZE { value = 100; } + +// RSC_CHAT_VARIATION_GROUP_WHISPER +// ---------------------------------------------------- +// This flag defines if whisper is allowed in group or not by default. +// Possible values: +// 0 : Whisper not allowed +// 1 : Whisper allowed +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_GROUP_WHISPER { value = 1; } + + +// RSC_CHAT_VARIATION_GROUP_SEARCH +// ---------------------------------------------------- +// This flag defines if search is allowed in group or not by default. +// Possible values: +// 0 : Search not allowed +// 1 : Search allowed +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_GROUP_SEARCH { value = 1; } + +// RSC_CHAT_VARIATION_GROUP_OPEN +// ---------------------------------------------------- +// This flag defines if group is open or closed by default. +// Possible values: +// 0 : Group is closed group +// 1 : Group is open group. +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_GROUP_OPEN { value = 1; } + +// RSC_CHAT_VARIATION_SEND_IMAGE +// ---------------------------------------------------- +// This flag shows wether to show send image option in menu or not +// Possible values: +// 0 : Not shown +// 1 : Shown +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SEND_IMAGE { value = 1; } + +// RSC_CHAT_VARIATION_JOIN_CHAT_ROOM_MANUAL +// ---------------------------------------------------- +// This flag shows wether it is possible to join a chat room +// by entering group id. +// Possible values: +// 0 : Not possible +// 1 : Possible +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_JOIN_CHAT_ROOM_MANUAL { value = 1; } + +// RSC_CHAT_VARIATION_GROUP_AUTODELETE +// ---------------------------------------------------- +// Enable (1) or disable (0) the autodeletion of group. +// If enabled, server will delete group after everyone has left the group. +// If disabled, group will be left on server and only creator can remove it. +// As default this is disabled (0). +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_GROUP_AUTODELETE { value = 0; } + +// RSC_CHAT_VARIATION_UNEDITABLE_USERID +// ---------------------------------------------------- +// For not allowing to modify the user id of contact +// If enabled, user id field cannot be edited after the contact has been saved. +// If disabled, user id field can be edited also after +// the contact has been saved. +// As default this is disabled (0). +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_UNEDITABLE_USERID { value = 0; } + +// RSC_CHAT_VARIATION_APPEAR_OFFLINE +// ---------------------------------------------------- +// Enable (1) or disable (0) the Appear Offline in +// the Change Own Status option. +// By default this is enabled (1). +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_APPEAR_OFFLINE { value = 1; } + +// RSC_CHAT_VARIATION_SAVE_PW_QUERY +// ---------------------------------------------------- +// Enable (1) or disable (0) the support for "Save +// password"-queries after first login to the server. +// The queries are also shown if the userid or password has +// changed for the server. +// By default this is disabled (0). +// NOTE: You must also define RSC_CHAT_VARIATION_IMPSCU_SAVE_PW_QUERY +// in IMPSCommonUI side to have the same value! +// Refer to the Variation document for more details. +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SAVE_PW_QUERY { value = 1; } + +// RSC_CHAT_VARIATION_APP_LAUNCH_QUERY +// ---------------------------------------------------- +// Enable (1) or disable (0) the support for application +// launch query. The query is shown only if the userid or password has +// been stored, therefore you need also to enable support for the "save +// password"-query (IM Application and IMPS Common UI). +// See RSC_CHAT_VARIATION_SAVE_PW_QUERY and +// RSC_CHAT_VARIATION_IMPSCU_SAVE_PW_QUERY. +// By default this is disabled (0). +// NOTE: it makes no sense to define both +// RSC_CHAT_VARIATION_ALWAYSONLINE_AFTER_FIRST_LOGIN and this, +// as the flags are UI-behaviourwise mutually exclusive. +// Refer to the Variation document for more details. +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_APP_LAUNCH_QUERY { value = 0; } + +// RSC_CHAT_VARIATION_RCPT_BLOCKED_NOTE +// ---------------------------------------------------- +// Enable (1) or disable (0) support for error code 532 "Recipient has blocked +// the sender". If enabled (1), an error note for the error will be shown. +// If disabled (0), no note will be shown. +// By default this is disabled (0). +// Refer to the Variation document for more details. +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_RCPT_BLOCKED_NOTE { value = 0; } + + +// RSC_CHAT_VARIATION_DOMAIN_SELECTION +// ------------------------------------------------- +// Enable (1) or disable (0) domain selection query. +// To enable it, also the RSC_CHAT_VARIATION_IMPSCU_DOMAIN_SELECTION has to be +// enabled from the PAppVariationNG.rss. +// If enabled (1), there is shown a query where user can choose from predifined +// domain values. The query is shown before user name and password query during +// login, when adding a contact manually and when opening a conversation manually. +// The selected domain value ("@domain.com") is then set to the user name field, +// where user can complete the user name. +// r_chat_variation_impscu_domain_selection_list -resource defines the domain +// values shown on the list +// +// Default value is disabled (0) +// ------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_DOMAIN_SELECTION { value = 0; } + + +// RSC_CHAT_VARIATION_UPDATE_CONTACTS_SETTING +// ---------------------------------------------------- +// This flag variates the functionality of the presence update. Possible +// values are: +// 0: Both Automatic and Manual modes are supported. Automatic is the default +// 1: Only Automatic mode is supported +// 2: Only Manual mode is supported +// +// When the flag is (0) the user can change the presence update value in the +// application settings. When the flag is (1) or (2) the client uses the +// only supported update mode and user can't change it. +// +// Default value is (0) +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_UPDATE_CONTACTS_SETTING { value = 0; } + + +// RSC_CHAT_VARIATION_DEVICE_TYPE_TO_ONLINE_STATUS +// ---------------------------------------------------- +// This flag variates if online status icon is shown with device type or not. +// values are: +// 0: Online status icon is the same for all client types. +// 1: Online status icon shows if the client is of mobile type. +// +// When this flag is (1) the online status icon shows if the client is of +// mobile type. When the flag is (0) online status icon does not look +// different for mobile client type. +// +// Default value is (0) +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_DEVICE_TYPE_TO_ONLINE_STATUS { value = 0; } + + +// RSC_CHAT_VARIATION_BUSY_STATUS +// ---------------------------------------------------- +// Enable (1) or disable (0) the Busy status in +// the Change Own Status option. +// By default this is disabled (0). +// +// Notice that this does not solely disable nor enable usage of busy status. +// Busy status can still be visible for user him/herself and for contacts, +// even if this is set to disabled (0). +// Visibility of Busy icons is variated by mappings in: +// wvui20\wvuipresence\resource\WVUIPresenceVariation.rss +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_BUSY_STATUS { value = 0; } +// RSC_CHAT_VARIATION_SHOW_BLOCKED_LIST +// ---------------------------------------------------- +// Enable (1) or disable (0) the "show blocked list" option. +// Values are: +// 0: "show blocked list" option is not shown in any options menu +// 1: "show blocked list" option is shown as specified. +// +// By default this is enabled (1). +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SHOW_BLOCKED_LIST { value = 1; } +// RSC_CHAT_VARIATION_RECORD_WARNING +// ---------------------------------------------------- +// Enable (1) or disable (0) warning message option +// when starting conversation recording. +// Values are: +// 0: Warning message is not shown +// 1: Warning message is shown +// +// By default this is disabled (0). +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_RECORD_WARNING { value = 0; } + +// RSC_CHAT_VARIATION_SAVE_PW_WARNING +// ---------------------------------------------------- +// Enable (1) or disable (0) warning message option +// when saving password. +// +// NOTE! Set the same value to IMPSCommonUI variation also, +// see flag RSC_CHAT_VARIATION_IMPSCU_SAVE_PW_WARNING +// in PAppVariationNG.rss. +// +// Values are: +// 0: Warning message is not shown +// 1: Warning message is shown +// +// By default this is disabled (0). +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SAVE_PW_WARNING { value = 0; } + +// RSC_CHAT_VARIATION_AWAY_STATUS +// ---------------------------------------------------- +// Enable (1) or disable (0) the "Away" status. +// Values are: +// 0: "Away" status is not shown in the "Change own status" -query +// 1: "Away" status is shown in the "Change own status" -query +// +// By default this is enabled (1). +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_AWAY_STATUS { value = 1; } + + + +// RSC_CHAT_VARIATION_CREATE_DELETE_CONTACT_LIST +// ---------------------------------------------------- +// Enable (1) or disable (0) the contact list creation and deletion +// Values are: +// 0: The contact list creation and deletion is not supported. +// 1: The contact list creation and deletion is supported. +// +// By default this is enabled (1). +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_CREATE_DELETE_CONTACT_LIST { value = 1; } + +// RSC_CHAT_VARIATION_ONLINE_AUTO +// ---------------------------------------------------- +// Enable (1) or disable (0) . +// Values are: +// 0: automatic status message query is not shown when user changes his state to online. +// 1: automatic status message query is shown when user changes his state to online. +// +// By default this is enabled (1). +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_ONLINE_AUTO { value = 1; } + +// RSC_CHAT_VARIATION_AWAY_AUTO +// ---------------------------------------------------- +// Enable (1) or disable (0) . +// Values are: +// 0: automatic status message query is not shown when user changes his state to Away. +// 1: automatic status message query is shown when user changes his state to Away. +// +// By default this is enabled (1). +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_AWAY_AUTO { value = 1; } + +// RSC_CHAT_VARIATION_BUSY_AUTO +// ---------------------------------------------------- +// Enable (1) or disable (0) . +// Values are: +// 0: automatic status message query is not shown when user changes his state to busy. +// 1: automatic status message query is shown when user changes his state to busy. +// +// By default this is enabled (1). +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_BUSY_AUTO { value = 1; } + +// RSC_CHAT_VARIATION_ONLINE_OPTION +// ---------------------------------------------------- +// Enable (1) or disable (0) . +// Values are: +// 0: status message option is not available when user in online. +// 1: status message option is available when user in online. +// +// By default this is enabled (1). +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_ONLINE_OPTION { value = 1; } + +// RSC_CHAT_VARIATION_AWAY_OPTION +// ---------------------------------------------------- +// Enable (1) or disable (0) . +// Values are: +// 0: status message option is not available when user in away status. +// 1: status message option is available when user in away status. +// +// By default this is enabled (1). +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_AWAY_OPTION { value = 1; } + +// RSC_CHAT_VARIATION_BUSY_OPTION +// ---------------------------------------------------- +// Enable (1) or disable (0) . +// Values are: +// 0: status message option is not available when user in busy status. +// 1: status message option is available when user in busy status. +// +// By default this is enabled (1). +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_BUSY_OPTION { value = 1; } + +// RSC_CHAT_VARIATION_HIDE_ONLY_PREFIX +// ---------------------------------------------------- +// Enable (1) or disable (0) hiding wv: part. +// Values are: +// 0: wv: part is shown on UI. +// 1: wv: part is not shown on UI. +// +// By default this is disabled (0). +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_HIDE_ONLY_PREFIX { value = 0; } + +// RSC_CHAT_VARIATION_BLOCK_QUERY +// ---------------------------------------------------- +// Enable (1) or disable (0) . +// Values are: +// 0: Block query is not shown when a contact is deleted. +// 1: Block query is shown after deleting a contact. +// +// By default this is enabled (1). +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_BLOCK_QUERY { value = 1; } + +// RSC_CHAT_VARIATION_CONTACT_LISTS_CAPITALIZED +// ---------------------------------------------------- +// Enable (1) or disable (0) . +// Values are: +// 0: Contact lists are not capitalized. +// 1: Contact lists are capitalized. +// +// By default this is disabled (0). +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_CONTACT_LISTS_CAPITALIZED { value = 0; } + + +#include "IMSmileUtilityNG.hrh" +#include "IMSmileUtilityNG.rh" +#include + +RESOURCE IM_SMILE_ARRAY r_smile_array_resource + { + smiles = + { + IM_SMILE + { + icon_id = EMbmChatngQgn_prop_im_smileys_happy; + mask_id = EMbmChatngQgn_prop_im_smileys_happy_mask; + strings = { LBUF { txt = ":-)"; }, + LBUF { txt = ":)"; } }; + }, + IM_SMILE + { + icon_id = EMbmChatngQgn_prop_im_smileys_sad; + mask_id = EMbmChatngQgn_prop_im_smileys_sad_mask; + strings = { LBUF { txt = ":-("; }, + LBUF { txt = ":("; } }; + }, + IM_SMILE + { + icon_id = EMbmChatngQgn_prop_im_smileys_laugh; + mask_id = EMbmChatngQgn_prop_im_smileys_laugh_mask; + strings = { LBUF { txt = ":-D"; } }; + }, + IM_SMILE + { + icon_id = EMbmChatngQgn_prop_im_smileys_wink; + mask_id = EMbmChatngQgn_prop_im_smileys_wink_mask; + strings = { LBUF { txt = ";-)"; } }; + }, + IM_SMILE + { + icon_id = EMbmChatngQgn_prop_im_smileys_kiss; + mask_id = EMbmChatngQgn_prop_im_smileys_kiss_mask; + strings = { LBUF { txt = ":-x"; } }; + }, + IM_SMILE + { + icon_id = EMbmChatngQgn_prop_im_smileys_angry; + mask_id = EMbmChatngQgn_prop_im_smileys_angry_mask; + strings = { LBUF { txt = "X-("; } }; + }, + IM_SMILE + { + icon_id = EMbmChatngQgn_prop_im_smileys_bored; + mask_id = EMbmChatngQgn_prop_im_smileys_bored_mask; + strings = { LBUF { txt = ":oI"; } }; + }, + IM_SMILE + { + icon_id = EMbmChatngQgn_prop_im_smileys_crying; + mask_id = EMbmChatngQgn_prop_im_smileys_crying_mask; + strings = { LBUF { txt = ":'("; } }; + }, + IM_SMILE + { + icon_id = EMbmChatngQgn_prop_im_smileys_glasses; + mask_id = EMbmChatngQgn_prop_im_smileys_glasses_mask; + strings = { LBUF { txt = "8-]"; } }; + }, + IM_SMILE + { + icon_id = EMbmChatngQgn_prop_im_smileys_indif; + mask_id = EMbmChatngQgn_prop_im_smileys_indif_mask; + strings = { LBUF { txt = ":-I"; } }; + }, + IM_SMILE + { + icon_id = EMbmChatngQgn_prop_im_smileys_robot; + mask_id = EMbmChatngQgn_prop_im_smileys_robot_mask; + strings = { LBUF { txt = "[:]"; } }; + }, + IM_SMILE + { + icon_id = EMbmChatngQgn_prop_im_smileys_shock; + mask_id = EMbmChatngQgn_prop_im_smileys_shock_mask; + strings = { LBUF { txt = "8-)"; } }; + }, + IM_SMILE + { + icon_id = EMbmChatngQgn_prop_im_smileys_skeptical; + mask_id = EMbmChatngQgn_prop_im_smileys_skeptical_mask; + strings = { LBUF { txt = ":-/"; } }; + }, + IM_SMILE + { + icon_id = EMbmChatngQgn_prop_im_smileys_sleepy; + mask_id = EMbmChatngQgn_prop_im_smileys_sleepy_mask; + strings = { LBUF { txt = "|-I"; } }; + }, + IM_SMILE + { + icon_id = EMbmChatngQgn_prop_im_smileys_sunglasses; + mask_id = EMbmChatngQgn_prop_im_smileys_sunglasses_mask; + strings = { LBUF { txt = "B-)"; } }; + }, + IM_SMILE + { + icon_id = EMbmChatngQgn_prop_im_smileys_surprise; + mask_id = EMbmChatngQgn_prop_im_smileys_surprise_mask; + strings = { LBUF { txt = "8-O"; } }; + }, + IM_SMILE + { + icon_id = EMbmChatngQgn_prop_im_smileys_tired; + mask_id = EMbmChatngQgn_prop_im_smileys_tired_mask; + strings = { LBUF { txt = "I-)"; } }; + }, + IM_SMILE + { + icon_id = EMbmChatngQgn_prop_im_smileys_veryhappy; + mask_id = EMbmChatngQgn_prop_im_smileys_veryhappy_mask; + strings = { LBUF { txt = ":-]"; } }; + }, + IM_SMILE + { + icon_id = EMbmChatngQgn_prop_im_smileys_verysad; + mask_id = EMbmChatngQgn_prop_im_smileys_verysad_mask; + strings = { LBUF { txt = ":-["; } }; + }, + IM_SMILE + { + icon_id = EMbmChatngQgn_prop_im_smileys_wickedsmile; + mask_id = EMbmChatngQgn_prop_im_smileys_wickedsmile_mask; + strings = { LBUF { txt = ":->"; } }; + } + }; + } + +// RSC_CHAT_VARIATION_OVERRIDE_DEFAULT_TONE +// ---------------------------------------------------- +// Override default sound from Central repository (1) or not (0). +// If this flag is (1) then the default sound received from +// Central Repository is overridden and the default sound file +// name is read from r_default_tone resource. +// +// Note! This is just default tone, and it's not forced to exist in +// tone selection list. You should keep the default tone in the same directory +// with other tone files if you want it to show in tone selection list. +// +// Default value is (0) +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_OVERRIDE_DEFAULT_TONE { value = 0; } + +RESOURCE TBUF r_default_tone { buf = ""; } + +// RSC_CHAT_VARIATION_MESSAGE_MAX_LENGTH: +// ------------------------------------ +// Defines the maximum length (in characters) of message that can +// be written to message editor. Basically the upper limit for this is +// limited only by amount of free memory when sending messages. +// If this is less than or equal to zero, default value will be used. +// Default message length is 400 characters. +// NOTE: This value has to be also defined for r_chatclient_send_text_query +// as the EDWIN maxlenght. +// +//---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_MESSAGE_MAX_LENGTH { value = 400; } + +RESOURCE DIALOG r_chatclient_send_text_query + { + flags = EGeneralQueryFlags; + buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK; + items= + { + DLG_LINE + { + type=EAknCtQuery; + id=EGeneralQuery; + control= AVKON_DATA_QUERY + { + layout = EDataLayout; + label = qtn_chat_opt_new_conv_message; + control=EDWIN + { + flags= EEikEdwinNoHorizScrolling | EEikEdwinResizable; + maxlength=400; // this has to be the same as RSC_CHAT_VARIATION_MESSAGE_MAX_LENGTH + width=16; + lines=1; + default_case = EAknEditorLowerCase; + }; + }; + } + }; + } + +#ifndef RD_30_COMPATIBILITY_MODE +// These cannot be compiled in backported 3.0 environment + +// RSC_CHAT_VARIATION_BRANDED_TONES +// ---------------------------------------------------- +// Use branded tone list or not. +// If this flag is set on (1) brandable tones are used +// and tone list is configured by customer, +// see r_audio_clf_list_model and r_audio_fldirectories. +// If this flag is disabled (0) brandable tones are +// not defined and default tone list is used. +// +// Default value is (0) +// +// NOTE! If feature EIMFeatBrandableTones is variated off with +// cenrep variation (see IMVariant.hrh and +// keys_s60instant_messaging_ui.xls) don't use these variation +// flags. Set this to (0). +// ---------------------------------------------------- +// +RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_BRANDED_TONES { value = 0; } + +// r_audio_clf_list_model +// ---------------------------------------------------- +// If customer specific tones are specifed, +// this resource structure must be filled. +// +// Example (see more from clfcontentlisting.rh): +// +// RESOURCE CLF_LIST_MODEL r_list_model +// { +// mime_type_array = CLF_MIME_TYPE_ARRAY +// { +// mime_types = +// { +// LBUF { txt = "application/vnd.nokia.ringing-tone"; }, +// LBUF { txt = "audio/*"; } +// }; +// }; +// media_type_array = CLF_MEDIA_TYPE_ARRAY +// { +// media_types = +// { +// CLF_MEDIA_TYPE { media_type = ECLFMediaTypeSound; } +// }; +// }; +// sorting_style = CLF_SORTING_STYLE +// { +// ordering = ECLFOrderingAscending; +// data_type = ECLFItemDataTypeDesC; +// fields = +// { +// CLF_FIELD_ID { field_id = ECLFFieldIdFileName; } +// }; +// }; +// } +// +// ---------------------------------------------------- +// + +#include +#include +#include +RESOURCE CLF_LIST_MODEL r_audio_clf_list_model + { + mime_type_array = CLF_MIME_TYPE_ARRAY + { + mime_types = + { + LBUF { txt = "audio/*"; }, + LBUF { txt = "application/vnd.nokia.ringing-tone"; } + }; + }; + media_type_array = CLF_MEDIA_TYPE_ARRAY + { + media_types = + { + CLF_MEDIA_TYPE { media_type = ECLFMediaTypeSound; } + }; + }; + sorting_style = CLF_SORTING_STYLE + { + ordering = ECLFOrderingAscending; + data_type = ECLFItemDataTypeDesC; + fields = + { + CLF_FIELD_ID { field_id = ECLFFieldIdFileName; } + }; + }; + } + +// r_audio_fldirectories +// ---------------------------------------------------- +// If customer specific tones are specifed, +// this resource structure must be filled. +// +// Example (see more from filelistmodel.rh): +// +// RESOURCE FILELISTDIRECTORIES r_audio_fldirectories +// { +// // Scan these ROM directories +// // Can be left empty -> only tones from PhoneDirectories are shown +// RomDirectories = +// { +// LBUF { txt = text_rom_root_path text_sounds_path; }, +// LBUF { txt = text_rom_root_path text_digital_sounds_path; }, +// LBUF { txt = text_rom_root_path text_simple_sounds_path; } +// }; +// // Show only these phone directories +// // NOTE! These locations must be +// // inside C:\\data and E: folders (including subdirectories) +// PhoneDirectories = +// { +// LBUF { txt = "c:\\data\\sounds\\IMSounds\\"; }, +// LBUF { txt = "c:\\data\\sounds\\digital\\IMSounds\\"; } +// }; +// ---------------------------------------------------- +// +RESOURCE FILELISTDIRECTORIES r_audio_fldirectories + { + // Scan these ROM directories + RomDirectories = + { + LBUF { txt = text_rom_root_path text_sounds_path; }, + LBUF { txt = text_rom_root_path text_digital_sounds_path; }, + LBUF { txt = text_rom_root_path text_simple_sounds_path; } + }; + // Show only these these phone directories + // NOTE! These locations must be + // inside C:\\data and E: folders (including subdirectories) + PhoneDirectories = + { + LBUF { txt = "c:\\data\\sounds\\imsounds\\"; } + }; + } +#endif // RD_30_COMPATIBILITY_MODE +//---------------------------------------------------- +// S60 v3.0 Compatibility resources +//---------------------------------------------------- +// +#ifdef RD_30_COMPATIBILITY_MODE +#include "CAVariation30.rss" +#endif //RD_30_COMPATIBILITY_MODE + +//end of file +