wvuing/wvuiave/AppRss/CAVariationNG.rss
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Main resource file of chat application
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // Included to get RD_30_COMPATIBILITY_MODE flag
       
    20 #include "impsbuilddefinitions.h"
       
    21 
       
    22 //----------------------------------------------------
       
    23 // VARIATION
       
    24 // You can do resource-file based variation by setting the following number
       
    25 // resources as you wish.
       
    26 //
       
    27 // RSC_CHAT_VARIATION_SCREENNAME_QUERY:
       
    28 // ------------------------------------
       
    29 // Enable screen name query (1) or disable it (0).
       
    30 // If 1, IM will ask for screen name when joining to or creating a group,
       
    31 // with the default value defined by RSC_CHAT_VARIATION_SCREENNAME_DEFAULT.
       
    32 //
       
    33 // If 0, the query will not be shown. The default value will be taken from
       
    34 // RSC_CHAT_VARIATION_SCREENNAME_DEFAULT.
       
    35 //
       
    36 // If you don't know whether you need this or not, it's OK to leave it enabled
       
    37 // (1).
       
    38 //
       
    39 // This might be needed for some variation purposes.
       
    40 //
       
    41 // See also RSC_CHAT_VARIATION_HAVE_ALIAS
       
    42 // See also RSC_CHAT_VARIATION_SCREENNAME_DEFAULT
       
    43 //----------------------------------------------------
       
    44 //
       
    45 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SCREENNAME_QUERY { value = 1; }
       
    46 
       
    47 // RSC_CHAT_VARIATION_SCREENNAME_DEFAULT:
       
    48 // --------------------------------------
       
    49 // Override text used as default in screen name query.
       
    50 // Possible values: Empty (0), Userid (1), Screen name from settings (2)
       
    51 // or Alias (3).
       
    52 //
       
    53 // If you use Empty (0), make sure the server supports it.
       
    54 //
       
    55 // If you use SN from settings (2), and
       
    56 // RSC_CHAT_VARIATION_SCREENNAME_SETTING is off (0),
       
    57 // then an empty screen name will become the default.
       
    58 //
       
    59 // If you use Alias (3), and
       
    60 // RSC_CHAT_VARIATION_HAVE_ALIAS is off (0),
       
    61 // then an empty screen name will become the default.
       
    62 //
       
    63 // See also RSC_CHAT_VARIATION_SCREENNAME_QUERY
       
    64 // See also RSC_CHAT_VARIATION_SCREENNAME_SETTING
       
    65 //----------------------------------------------------
       
    66 //
       
    67 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SCREENNAME_DEFAULT { value = 2; }
       
    68 
       
    69 // RSC_CHAT_VARIATION_SCREENNAME_SETTING:
       
    70 // --------------------------------------
       
    71 // Enable screen name setting item support (1) or disable it (0).
       
    72 // If 1, the setting item for screen name will be enabled in application
       
    73 // settings.
       
    74 //
       
    75 // If you don't know whether you need this or not, it's OK to leave
       
    76 // it enabled (1).
       
    77 //
       
    78 // This might be needed for some variation purposes.
       
    79 //
       
    80 // See also RSC_CHAT_VARIATION_HAVE_ALIAS
       
    81 // See also RSC_CHAT_VARIATION_SCREENNAME_QUERY
       
    82 // See also RSC_CHAT_VARIATION_SCREENNAME_DEFAULT
       
    83 //----------------------------------------------------
       
    84 //
       
    85 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SCREENNAME_SETTING { value = 1; }
       
    86 
       
    87 // RSC_CHAT_VARIATION_HAVEGRANT:
       
    88 // -----------------------------
       
    89 // Enable grant list support (1) or disable it (0).
       
    90 // This will hide "Receive instant messages" setting item from application settings
       
    91 // If you don't know whether you need this or not, it's OK to
       
    92 // leave it enabled (1). This might be needed for some variation purposes.
       
    93 //----------------------------------------------------
       
    94 //
       
    95 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_HAVEGRANT { value = 1; }
       
    96 
       
    97 // RSC_CHAT_VARIATION_MODIFY_CONTACT_LIST:
       
    98 // --------------------------------------------
       
    99 // Enable contact list modify support (1) or disable it (0).
       
   100 // This will enable contact  renaming
       
   101 // If you don't know whether you need this or not, it's OK to
       
   102 // leave it enabled (1). This might be needed for some variation purposes.
       
   103 //----------------------------------------------------
       
   104 //
       
   105 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_MODIFY_CONTACT_LIST { value = 1; }
       
   106 
       
   107 // RSC_CHAT_VARIATION_HIDE_WV:
       
   108 // ---------------------------
       
   109 // When 1, hides "wv:" part in the UI from all visible user ids and group ids,
       
   110 // also hide the "wv:username" part of list ids.
       
   111 // If you don't know whether you need this or not, it's OK to
       
   112 // leave it disabled (0). This might be needed for some variation purposes.
       
   113 //----------------------------------------------------
       
   114 //
       
   115 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_HIDE_WV { value = 1; }
       
   116 
       
   117 // RSC_CHAT_VARIATION_FETCH_PRESENCE:
       
   118 // ----------------------------------
       
   119 // When 1, does presence fetch after subscription and contact list changes
       
   120 // also in automatic update mode.
       
   121 // If you don't know whether you need this or not, it's OK to
       
   122 // leave it disabled (0). This might be needed for some variation purposes.
       
   123 //----------------------------------------------------
       
   124 //
       
   125 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_FETCH_PRESENCE { value = 0; }
       
   126 
       
   127 // RSC_CHAT_VARIATION_HAVEPRESENCEAUTH:
       
   128 // ------------------------------------
       
   129 // When 1, allow setting for Presence authorization.
       
   130 // If 0, Presence authorization setting is hidden from IM application settings.
       
   131 // This can be used with servers who do not support the Presence authorization.
       
   132 // If you don't know whether you need this or not, it's OK
       
   133 // to leave it enabled.
       
   134 //----------------------------------------------------
       
   135 //
       
   136 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_HAVEPRESENCEAUTH { value = 1; }
       
   137 
       
   138 // RSC_CHAT_VARIATION_SEND_MSG_IGNORE_OFFLINE:
       
   139 // ------------------------------------
       
   140 // When 1, ignore offline state when of contact when starting a conversation
       
   141 // with the contact. In this case, the message can always be sent even if the
       
   142 // contact is offline.
       
   143 // If 0, the presence state is checked when starting the conversation and a note
       
   144 // is shown for those contacts which are offline. If you don't know whether you
       
   145 // need this or not, it's OK to leave it disabled (0). This might be needed for
       
   146 // some variation purposes.
       
   147 //----------------------------------------------------
       
   148 //
       
   149 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SEND_MSG_IGNORE_OFFLINE { value = 0; }
       
   150 
       
   151 // RSC_CHAT_VARIATION_ALWAYSONLINE_AFTER_FIRST_LOGIN:
       
   152 // ------------------------------------
       
   153 // When 1, sets current server as default server after first login. Also
       
   154 // sets login type to always online in home network if user allows, else
       
   155 // sets login type to application launch.
       
   156 // If 0, no special actions related to first login to server.
       
   157 //----------------------------------------------------
       
   158 //
       
   159 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_ALWAYSONLINE_AFTER_FIRST_LOGIN { value = 1; }
       
   160 
       
   161 // RSC_CHAT_VARIATION_HAVE_ALIAS
       
   162 // -----------------------------
       
   163 // Enable (1) or disable (0) support for alias attribute.
       
   164 // If enabled, the alias is queried immediately after login. It will
       
   165 // also be published into the server where other alias-supporting clients
       
   166 // can get it. If disabled, the alias will not be used or queried.
       
   167 // Enabling this (1) will also turn on the setting item in application settings
       
   168 // for the alias.
       
   169 // See RSC_CHAT_VARIATION_SCREENNAME_DEFAULT.
       
   170 // See RSC_CHAT_VARIATION_SCREENNAME_QUERY
       
   171 //
       
   172 // The alias setting is independent from screenname setting.
       
   173 //
       
   174 // Alias requires support from server, so if you have a server with alias
       
   175 // support, you can turn this on (1). Otherwise you should leave it
       
   176 // to the default value of disabled (0).
       
   177 //----------------------------------------------------
       
   178 //
       
   179 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_HAVE_ALIAS { value = 0; }
       
   180 
       
   181 // RSC_CHAT_VARIATION_ALIAS_MANDATORY:
       
   182 // -----------------------------------
       
   183 // Enable (1) or disable (0) requirement for alias.
       
   184 // If enabled, the alias is mandatory for logging into server. Canceling the
       
   185 // Alias query will cancel also the actual login. If disabled, the alias is
       
   186 // optional and user is can login to server even without defining the alias.
       
   187 //
       
   188 // See RSC_CHAT_VARIATION_HAVE_ALIAS
       
   189 //
       
   190 // if RSC_CHAT_VARIATION_HAVE_ALIAS is disabled, then this flag has no effect.
       
   191 //
       
   192 // Default value is enabled (1)
       
   193 //----------------------------------------------------
       
   194 //
       
   195 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_ALIAS_MANDATORY { value = 1; }
       
   196 // RSC_CHAT_VARIATION_MSISDN_SUPPORT
       
   197 // -----------------------------
       
   198 // When this is enabled user can add contacts with MSISDN
       
   199 // number from Phonebook to IM contacts.
       
   200 // When adding a contact, it is searched from the service
       
   201 // with MSISDN. To be able to support this the searching with
       
   202 // MSISDN feature CHAT_VARIATION_SEARCH_PHONE needs
       
   203 // to be supported.)
       
   204 // Possible values: enabled (1) and disabled (0).
       
   205 // As default this is enabled (1).
       
   206 ///------------------------------------------
       
   207 //
       
   208 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_MSISDN_SUPPORT { value = 1; }
       
   209 
       
   210 // RSC_CHAT_VARIATION_ALLOW_EDIT_GROUP_PROPERTIES
       
   211 // ----------------------------------------------
       
   212 // Enable (1) or disable (0) support for editing chat group properties.
       
   213 // If enabled, the user can edit chat group properties via the options
       
   214 // menu. If disabled, the option will be hidden and the properties dialog
       
   215 // will not be accessable.
       
   216 // The default value is enabled (1).
       
   217 //----------------------------------------------------
       
   218 //
       
   219 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_ALLOW_EDIT_GROUP_PROPERTIES { value = 1; }
       
   220 
       
   221 // RSC_CHAT_VARIATION_SIMPLE_GROUP_CREATION
       
   222 // ----------------------------------------
       
   223 // Enable (1) or disable (0) support for simplified chat group creation.
       
   224 // If enabled, the user is asked for contacts to be invited to the group.
       
   225 // After that, the group will be created with default group properties.
       
   226 // The default value is disabled (0).
       
   227 //----------------------------------------------------
       
   228 //
       
   229 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SIMPLE_GROUP_CREATION { value = 1; }
       
   230 
       
   231 // RSC_CHAT_VARIATION_LOCAL_ECHO_USED_IN_GROUP
       
   232 // ----------------------------------------
       
   233 // Enable (1) or disable (0) support for local echo in group conversation.
       
   234 // If enabled, sent messages in group will be echoed right after sending to group view.
       
   235 // If sent message comes from server it is identified by sender and is not shown.
       
   236 // If not enabled, only message coming from server is shown.
       
   237 // This does not affect to whisper messages.
       
   238 // The default value is enabled (1).
       
   239 //----------------------------------------------------
       
   240 //
       
   241 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_LOCAL_ECHO_USED_IN_GROUP { value = 1; }
       
   242 
       
   243 // RSC_CHAT_VARIATION_OWN_MSG_ICON
       
   244 // ----------------------------------------
       
   245 // Enable (1) or disable (0) icon in front of own p2p messages.
       
   246 // If enabled, there is shown an icon in front of sent p2p messages.
       
   247 // If disabled, there is shown identification of sender in front of sent p2p messages.
       
   248 // The default value is enabled (1).
       
   249 //----------------------------------------------------
       
   250 //
       
   251 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_OWN_MSG_ICON { value = 1; }
       
   252 
       
   253 // RSC_CHAT_VARIATION_MSG_ICON
       
   254 // ----------------------------------------
       
   255 // Enable (1) or disable (0) icon in front of received p2p messages.
       
   256 // If enabled, there is shown an icon in front of received p2p messages.
       
   257 // If disabled, there is shown identification of sender in front of received p2p messages.
       
   258 // The default value is enabled (1).
       
   259 //----------------------------------------------------
       
   260 //
       
   261 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_MSG_ICON { value = 1; }
       
   262 
       
   263 // RSC_CHAT_VARIATION_DEFAULT_MESSAGE_COLORS
       
   264 // RSC_CHAT_VARIATION_COLOR_WHOLE_MESSAGE
       
   265 // RSC_CHAT_VARIATION_MESSAGE_COLOR
       
   266 // RSC_CHAT_VARIATION_OWN_MESSAGE_COLOR
       
   267 // ----------------------------------------
       
   268 // If RSC_CHAT_VARIATION_DEFAULT_MESSAGE_COLORS is disabled (0),
       
   269 // own messages are colored with RSC_CHAT_VARIATION_OWN_MESSAGE_COLOR
       
   270 // and other messages are colored with RSC_CHAT_VARIATION_MESSAGE_COLOR.
       
   271 // If RSC_CHAT_VARIATION_COLOR_WHOLE_MESSAGE is enabled, coloring is
       
   272 // applied to whole message, otherwise coloring is applied only to
       
   273 // nickname-part of messages.
       
   274 // The default value for RSC_CHAT_VARIATION_DEFAULT_MESSAGE_COLORS is enabled (1).
       
   275 // The default value for RSC_CHAT_VARIATION_COLOR_WHOLE_MESSAGE is disabled (0).
       
   276 //----------------------------------------------------
       
   277 //
       
   278 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_DEFAULT_MESSAGE_COLORS { value = 1; }
       
   279 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_COLOR_WHOLE_MESSAGE { value = 1; }
       
   280 RESOURCE COLOR RSC_CHAT_VARIATION_MESSAGE_COLOR     { red = 255; green =   0; blue =   0; }
       
   281 RESOURCE COLOR RSC_CHAT_VARIATION_OWN_MESSAGE_COLOR { red =   0; green =   0; blue = 255; }
       
   282 
       
   283 // RSC_CHAT_VARIATION_REACTIVE_PRESENCE_AUTH
       
   284 // -----------------------------------------
       
   285 // Enable (1) or disable (0) support for reactive presence authorization.
       
   286 // If enabled, the contact to be added is notified of the add contact operation
       
   287 // and can deny or allow the showing of his presence to the sender, the sender
       
   288 // being the one who was adding the contact in this case.
       
   289 // The default value is disabled (0).
       
   290 // -----------------------------------------
       
   291 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_REACTIVE_PRESENCE_AUTH { value = 1; }
       
   292 
       
   293 // RSC_CHAT_VARIATION_USERID_TEXTUAL_INPUTMODE:
       
   294 // --------------------------------------------
       
   295 // Set the default input mode for all userid fields in IM.
       
   296 // If enabled (1), input mode is textual. If disabled (0), input mode
       
   297 // is numeric (0).
       
   298 // If you don't know whether you need it or not, leave it enabled (1).
       
   299 // This might be needed for some variation purposes. For example, for servers
       
   300 // which support numeric user id fields, this setting can be turned to numeric
       
   301 // (0) for greater usability.
       
   302 //----------------------------------------------------
       
   303 //
       
   304 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_USERID_TEXTUAL_INPUTMODE { value = 1; }
       
   305 
       
   306 // RSC_CHAT_VARIATION_HAVE_NICKNAME
       
   307 // --------------------------------------------
       
   308 // When this is enabled, user is able to give nick names for
       
   309 // all contacts in his contact list. If nick name use is not enabled, then nick
       
   310 // name field is not available in the contact details view, nor the contact
       
   311 // editing view.
       
   312 // Possible values: enabled (1) and disabled (0).
       
   313 // As default this is enabled. (1)
       
   314 ///----------------------------------------------------
       
   315 //
       
   316 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_HAVE_NICKNAME { value = 1; }
       
   317 
       
   318 // RSC_CHAT_VARIATION_SEARCH_NAME
       
   319 // --------------------------------------------
       
   320 // When this is enabled, user has an option to be able
       
   321 // to search other chat users by name.
       
   322 // To be able to support this feature the search functionality needs to be
       
   323 // supported. Search feature is checked from the service in the login
       
   324 // procedure,
       
   325 // Possible values: enabled (1) and disabled (0).
       
   326 // As default this is enabled (1).
       
   327 ///----------------------------------------------------
       
   328 //
       
   329 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SEARCH_NAME { value = 1; }
       
   330 
       
   331 // RSC_CHAT_VARIATION_SEARCH_USERID
       
   332 // --------------------------------------------
       
   333 // When this is enabled, user has an option to be able
       
   334 // to search other chat users by user id.
       
   335 // To be able to support this feature the search functionality needs to be
       
   336 // supported. Search feature is checked from the service in the login
       
   337 // procedure,
       
   338 // Possible values: enabled (1) and disabled (0).
       
   339 // As default this is enabled (1).
       
   340 ///----------------------------------------------------
       
   341 //
       
   342 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SEARCH_USERID { value = 1; }
       
   343 
       
   344 // RSC_CHAT_VARIATION_SEARCH_PHONE
       
   345 // --------------------------------------------
       
   346 // When this is enabled, user has an option to be able
       
   347 // to search other chat users by phone number.
       
   348 // To be able to support this feature the search functionality needs to be
       
   349 // supported. Search feature is checked from the service in the login
       
   350 // procedure,
       
   351 // Possible values: enabled (1) and disabled (0).
       
   352 // As default this is enabled (1).
       
   353 ///----------------------------------------------------
       
   354 //
       
   355 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SEARCH_PHONE { value = 1; }
       
   356 
       
   357 // RSC_CHAT_VARIATION_SEARCH_EMAIL
       
   358 // --------------------------------------------
       
   359 // When this is enabled, user has an option to be able
       
   360 // to search other chat users by email address.
       
   361 // To be able to support this feature the search functionality needs to be
       
   362 // supported. Search feature is checked from the service in the login
       
   363 // procedure,
       
   364 // Possible values: enabled (1) and disabled (0).
       
   365 // As default this is enabled (1).
       
   366 ///----------------------------------------------------
       
   367 //
       
   368 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SEARCH_EMAIL { value = 1; }
       
   369 
       
   370 // RSC_CHAT_VARIATION_SEARCH_GROUPNAME
       
   371 // --------------------------------------------
       
   372 // When this is enabled, user has an option to be able
       
   373 // to search groups by group name.
       
   374 // To be able to support this feature the search functionality needs to be
       
   375 // supported. Search feature is checked from the service in the login
       
   376 // procedure,
       
   377 // Possible values: enabled (1) and disabled (0).
       
   378 // As default this is enabled (1).
       
   379 ///----------------------------------------------------
       
   380 //
       
   381 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SEARCH_GROUPNAME { value = 1; }
       
   382 
       
   383 // RSC_CHAT_VARIATION_SEARCH_GROUPTOPIC
       
   384 // --------------------------------------------
       
   385 // When this is enabled, user has an option to be able
       
   386 // to search groups by topic of the group.
       
   387 // To be able to support this feature the search functionality needs to be
       
   388 // supported. Search feature is checked from the service in the login
       
   389 // procedure,
       
   390 // Possible values: enabled (1) and disabled (0).
       
   391 // As default this is enabled (1).
       
   392 ///----------------------------------------------------
       
   393 //
       
   394 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SEARCH_GROUPTOPIC { value = 1; }
       
   395 
       
   396 // RSC_CHAT_VARIATION_SEARCH_GROUPMEMBER
       
   397 // --------------------------------------------
       
   398 // When this is enabled, user has an option to be able
       
   399 // to search groups by member of the group.
       
   400 // To be able to support this feature the search functionality needs to be
       
   401 // supported. Search feature is checked from the service in the login
       
   402 // procedure,
       
   403 // Possible values: enabled (1) and disabled (0).
       
   404 // As default this is enabled (1).
       
   405 ///----------------------------------------------------
       
   406 //
       
   407 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SEARCH_GROUPMEMBER { value = 1; }
       
   408 
       
   409 // RSC_CHAT_VARIATION_SEND_MSG_IGNORE_OFFLINE_NOTIFY
       
   410 // --------------------------------------------
       
   411 // When enabled, messages can be sent to offline contacts, and user is notified
       
   412 // (contact’s status is checked when user opens a conversation with an offline
       
   413 // contact, and user is notified that the contact is offline.
       
   414 // This cannot be supported same time with the feature
       
   415 // Chat.Variation.Send.Msg.Ignore.Offline.
       
   416 // Possible values: enabled (1) and disabled (0).
       
   417 // As default this is not enabled (0).
       
   418 ///----------------------------------------------------
       
   419 //
       
   420 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SEND_MSG_IGNORE_OFFLINE_NOTIFY { value = 1; }
       
   421 
       
   422 // RSC_CHAT_VARIATION_AUTOMATIC_STATUS_CHANGE
       
   423 // ------------------------------------------
       
   424 // Automatic status change (When this is supported,
       
   425 // user’s status is changed automatically from away to
       
   426 // online, when user sends a message
       
   427 // Possible values: enabled (1) and disabled (0).
       
   428 // As default this is not enabled (0).
       
   429 ///----------------------------------------------------
       
   430 //
       
   431 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_AUTOMATIC_STATUS_CHANGE{ value = 0; }
       
   432 
       
   433 // RSC_CHAT_VARIATION_WELCOME_NOTE
       
   434 // ----------------------------------------------------
       
   435 // When this is enabled, there is shown a predefined
       
   436 // welcome note after successfull login.
       
   437 // Possible values: enabled (1) and disabled (0).
       
   438 // As default this is not enabled (0).
       
   439 ///----------------------------------------------------
       
   440 //
       
   441 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_WELCOME_NOTE { value = 0; }
       
   442 
       
   443 // RSC_CHAT_VARIATION_BLOCKING
       
   444 // ----------------------------------------------------
       
   445 // This flag shows how to handle blocked contacts
       
   446 // Possible values:
       
   447 //  0 : remove from the list
       
   448 //  1 : hide on the list
       
   449 //  2 : leave on the list
       
   450 // ----------------------------------------------------
       
   451 //
       
   452 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_BLOCKING { value = 1; }
       
   453 
       
   454 // RSC_CHAT_VARIATION_GROUP_TOPIC
       
   455 // ----------------------------------------------------
       
   456 // This flag defines default group topic.
       
   457 // Possible values:
       
   458 // ""                               : empty
       
   459 // qtn_chat_create_def_top          : localised
       
   460 // "Some variated string in here."  : defined string
       
   461 // ----------------------------------------------------
       
   462 //
       
   463 RESOURCE TBUF RSC_CHAT_VARIATION_GROUP_TOPIC { buf = ""; }
       
   464 
       
   465 // RSC_CHAT_VARIATION_GROUP_WELCOME_NOTE
       
   466 // ----------------------------------------------------
       
   467 // This flag defines default group welcome note.
       
   468 // Possible values:
       
   469 // ""                               : empty
       
   470 // "Some variated string in here."  : defined string
       
   471 // ----------------------------------------------------
       
   472 //
       
   473 RESOURCE TBUF RSC_CHAT_VARIATION_GROUP_WELCOME_NOTE { buf = ""; }
       
   474 
       
   475 // RSC_CHAT_VARIATION_GROUP_SIZE
       
   476 // ----------------------------------------------------
       
   477 // This flag defines default size for room.
       
   478 // Set as max amount of users in group.
       
   479 // ----------------------------------------------------
       
   480 //
       
   481 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_GROUP_SIZE { value = 100; }
       
   482 
       
   483 // RSC_CHAT_VARIATION_GROUP_WHISPER
       
   484 // ----------------------------------------------------
       
   485 // This flag defines if whisper is allowed in group or not by default.
       
   486 // Possible values:
       
   487 // 0 : Whisper not allowed
       
   488 // 1 : Whisper allowed
       
   489 // ----------------------------------------------------
       
   490 //
       
   491 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_GROUP_WHISPER { value = 1; }
       
   492 
       
   493 
       
   494 // RSC_CHAT_VARIATION_GROUP_SEARCH
       
   495 // ----------------------------------------------------
       
   496 // This flag defines if search is allowed in group or not by default.
       
   497 // Possible values:
       
   498 // 0 : Search not allowed
       
   499 // 1 : Search allowed
       
   500 // ----------------------------------------------------
       
   501 //
       
   502 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_GROUP_SEARCH { value = 1; }
       
   503 
       
   504 // RSC_CHAT_VARIATION_GROUP_OPEN
       
   505 // ----------------------------------------------------
       
   506 // This flag defines if group is open or closed by default.
       
   507 // Possible values:
       
   508 // 0 : Group is closed group
       
   509 // 1 : Group is open group.
       
   510 // ----------------------------------------------------
       
   511 //
       
   512 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_GROUP_OPEN { value = 1; }
       
   513 
       
   514 // RSC_CHAT_VARIATION_SEND_IMAGE
       
   515 // ----------------------------------------------------
       
   516 // This flag shows wether to show send image option in menu or not
       
   517 // Possible values:
       
   518 //  0 : Not shown
       
   519 //  1 : Shown
       
   520 // ----------------------------------------------------
       
   521 //
       
   522 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SEND_IMAGE { value = 1; }
       
   523 
       
   524 // RSC_CHAT_VARIATION_JOIN_CHAT_ROOM_MANUAL
       
   525 // ----------------------------------------------------
       
   526 // This flag shows wether it is possible to join a chat room
       
   527 // by entering group id.
       
   528 // Possible values:
       
   529 //  0 : Not possible
       
   530 //  1 : Possible
       
   531 // ----------------------------------------------------
       
   532 //
       
   533 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_JOIN_CHAT_ROOM_MANUAL { value = 1; }
       
   534 
       
   535 // RSC_CHAT_VARIATION_GROUP_AUTODELETE
       
   536 // ----------------------------------------------------
       
   537 // Enable (1) or disable (0) the autodeletion of group.
       
   538 // If enabled, server will delete group after everyone has left the group.
       
   539 // If disabled, group will be left on server and only creator can remove it.
       
   540 // As default this is disabled (0).
       
   541 // ----------------------------------------------------
       
   542 //
       
   543 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_GROUP_AUTODELETE { value = 0; }
       
   544 
       
   545 // RSC_CHAT_VARIATION_UNEDITABLE_USERID
       
   546 // ----------------------------------------------------
       
   547 // For not allowing to modify the user id of contact
       
   548 // If enabled, user id field cannot be edited after the contact has been saved.
       
   549 // If disabled, user id field can be edited also after
       
   550 // the contact has been saved.
       
   551 // As default this is disabled (0).
       
   552 // ----------------------------------------------------
       
   553 //
       
   554 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_UNEDITABLE_USERID { value = 0; }
       
   555 
       
   556 // RSC_CHAT_VARIATION_APPEAR_OFFLINE
       
   557 // ----------------------------------------------------
       
   558 // Enable (1) or disable (0) the Appear Offline in
       
   559 // the Change Own Status option.
       
   560 // By default this is enabled (1).
       
   561 // ----------------------------------------------------
       
   562 //
       
   563 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_APPEAR_OFFLINE { value = 1; }
       
   564 
       
   565 // RSC_CHAT_VARIATION_SAVE_PW_QUERY
       
   566 // ----------------------------------------------------
       
   567 // Enable (1) or disable (0) the support for "Save
       
   568 // password"-queries after first login to the server.
       
   569 // The queries are also shown if the userid or password has
       
   570 // changed for the server. 
       
   571 // By default this is disabled (0).
       
   572 // NOTE: You must also define RSC_CHAT_VARIATION_IMPSCU_SAVE_PW_QUERY
       
   573 // in IMPSCommonUI side to have the same value!
       
   574 // Refer to the Variation document for more details.
       
   575 // ----------------------------------------------------
       
   576 //
       
   577 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SAVE_PW_QUERY { value = 1; }
       
   578 
       
   579 // RSC_CHAT_VARIATION_APP_LAUNCH_QUERY
       
   580 // ----------------------------------------------------
       
   581 // Enable (1) or disable (0) the support for application
       
   582 // launch query. The query is shown only if the userid or password has
       
   583 // been stored, therefore you need also to enable support for the "save
       
   584 // password"-query (IM Application and IMPS Common UI).
       
   585 // See RSC_CHAT_VARIATION_SAVE_PW_QUERY and
       
   586 // RSC_CHAT_VARIATION_IMPSCU_SAVE_PW_QUERY.
       
   587 // By default this is disabled (0).
       
   588 // NOTE: it makes no sense to define both
       
   589 // RSC_CHAT_VARIATION_ALWAYSONLINE_AFTER_FIRST_LOGIN and this,
       
   590 // as the flags are UI-behaviourwise mutually exclusive.
       
   591 // Refer to the Variation document for more details.
       
   592 // ----------------------------------------------------
       
   593 //
       
   594 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_APP_LAUNCH_QUERY { value = 0; }
       
   595 
       
   596 // RSC_CHAT_VARIATION_RCPT_BLOCKED_NOTE
       
   597 // ----------------------------------------------------
       
   598 // Enable (1) or disable (0) support for error code 532 "Recipient has blocked
       
   599 // the sender". If enabled (1), an error note for the error will be shown.
       
   600 // If disabled (0), no note will be shown.
       
   601 // By default this is disabled (0).
       
   602 // Refer to the Variation document for more details.
       
   603 // ----------------------------------------------------
       
   604 //
       
   605 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_RCPT_BLOCKED_NOTE { value = 0; }
       
   606 
       
   607 
       
   608 // RSC_CHAT_VARIATION_DOMAIN_SELECTION
       
   609 // -------------------------------------------------
       
   610 // Enable (1) or disable (0) domain selection query.
       
   611 // To enable it, also the RSC_CHAT_VARIATION_IMPSCU_DOMAIN_SELECTION has to be 
       
   612 // enabled from the PAppVariationNG.rss.
       
   613 // If enabled (1), there is shown a query where user can choose from predifined 
       
   614 // domain values. The query is shown before user name and password query during 
       
   615 // login, when adding a contact manually and when opening a conversation manually.
       
   616 // The selected domain value ("@domain.com") is then set to the user name field, 
       
   617 // where user can complete the user name.
       
   618 // r_chat_variation_impscu_domain_selection_list -resource defines the domain
       
   619 // values shown on the list
       
   620 //
       
   621 // Default value is disabled (0)
       
   622 // -------------------------------------------------
       
   623 //
       
   624 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_DOMAIN_SELECTION { value = 0; }
       
   625 
       
   626 
       
   627 // RSC_CHAT_VARIATION_UPDATE_CONTACTS_SETTING
       
   628 // ----------------------------------------------------
       
   629 // This flag variates the functionality of the presence update. Possible
       
   630 // values are:
       
   631 //  0: Both Automatic and Manual modes are supported. Automatic is the default
       
   632 //  1: Only Automatic mode is supported
       
   633 //  2: Only Manual mode is supported
       
   634 //
       
   635 // When the flag is (0) the user can change the presence update value in the
       
   636 // application settings. When the flag is (1) or (2) the client uses the
       
   637 // only supported update mode and user can't change it.
       
   638 //
       
   639 // Default value is (0)
       
   640 // ----------------------------------------------------
       
   641 //
       
   642 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_UPDATE_CONTACTS_SETTING { value = 0; }
       
   643 
       
   644 
       
   645 // RSC_CHAT_VARIATION_DEVICE_TYPE_TO_ONLINE_STATUS
       
   646 // ----------------------------------------------------
       
   647 // This flag variates if online status icon is shown with device type or not.
       
   648 // values are:
       
   649 //  0: Online status icon is the same for all client types.
       
   650 //  1: Online status icon shows if the client is of mobile type.
       
   651 //
       
   652 // When this flag is (1) the online status icon shows if the client is of 
       
   653 // mobile type. When the flag is (0) online status icon does not look 
       
   654 // different for mobile client type.
       
   655 //
       
   656 // Default value is (0)
       
   657 // ----------------------------------------------------
       
   658 //
       
   659 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_DEVICE_TYPE_TO_ONLINE_STATUS { value = 0; }
       
   660 
       
   661 
       
   662 // RSC_CHAT_VARIATION_BUSY_STATUS
       
   663 // ----------------------------------------------------
       
   664 // Enable (1) or disable (0) the Busy status in
       
   665 // the Change Own Status option.
       
   666 // By default this is disabled (0).
       
   667 //
       
   668 // Notice that this does not solely disable nor enable usage of busy status.
       
   669 // Busy status can still be visible for user him/herself and for contacts,
       
   670 // even if this is set to disabled (0).
       
   671 // Visibility of Busy icons is variated by mappings in:
       
   672 // wvui20\wvuipresence\resource\WVUIPresenceVariation.rss
       
   673 // ----------------------------------------------------
       
   674 //
       
   675 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_BUSY_STATUS { value = 0; }
       
   676 // RSC_CHAT_VARIATION_SHOW_BLOCKED_LIST
       
   677 // ----------------------------------------------------
       
   678 // Enable (1) or disable (0) the "show blocked list" option.
       
   679 // Values are:
       
   680 //  0: "show blocked list" option is not shown in any options menu
       
   681 //  1: "show blocked list" option is shown as specified.
       
   682 //
       
   683 // By default this is enabled (1).
       
   684 // ----------------------------------------------------
       
   685 //
       
   686 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SHOW_BLOCKED_LIST { value = 1; }
       
   687 // RSC_CHAT_VARIATION_RECORD_WARNING
       
   688 // ----------------------------------------------------
       
   689 // Enable (1) or disable (0) warning message option
       
   690 // when starting conversation recording.
       
   691 // Values are:
       
   692 //  0: Warning message is not shown
       
   693 //  1: Warning message is shown
       
   694 //
       
   695 // By default this is disabled (0).
       
   696 // ----------------------------------------------------
       
   697 //
       
   698 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_RECORD_WARNING { value = 0; }
       
   699 
       
   700 // RSC_CHAT_VARIATION_SAVE_PW_WARNING
       
   701 // ----------------------------------------------------
       
   702 // Enable (1) or disable (0) warning message option
       
   703 // when saving password.
       
   704 // 
       
   705 // NOTE! Set the same value to IMPSCommonUI variation also,
       
   706 // see flag RSC_CHAT_VARIATION_IMPSCU_SAVE_PW_WARNING
       
   707 // in PAppVariationNG.rss.
       
   708 //
       
   709 // Values are:
       
   710 //  0: Warning message is not shown
       
   711 //  1: Warning message is shown
       
   712 //
       
   713 // By default this is disabled (0).
       
   714 // ----------------------------------------------------
       
   715 //
       
   716 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_SAVE_PW_WARNING { value = 0; }
       
   717 
       
   718 // RSC_CHAT_VARIATION_AWAY_STATUS
       
   719 // ----------------------------------------------------
       
   720 // Enable (1) or disable (0) the "Away" status.
       
   721 // Values are:
       
   722 //  0: "Away" status is not shown in the "Change own status" -query
       
   723 //  1: "Away" status is shown in the "Change own status" -query
       
   724 //
       
   725 // By default this is enabled (1).
       
   726 // ----------------------------------------------------
       
   727 //
       
   728 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_AWAY_STATUS { value = 1; }
       
   729 
       
   730 
       
   731 
       
   732 // RSC_CHAT_VARIATION_CREATE_DELETE_CONTACT_LIST
       
   733 // ----------------------------------------------------
       
   734 // Enable (1) or disable (0) the contact list creation and deletion
       
   735 // Values are:
       
   736 //  0: The contact list creation and deletion is not supported.
       
   737 //  1: The contact list creation and deletion is supported.
       
   738 //
       
   739 // By default this is enabled (1).
       
   740 // ----------------------------------------------------
       
   741 //
       
   742 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_CREATE_DELETE_CONTACT_LIST { value = 1; }
       
   743 
       
   744 // RSC_CHAT_VARIATION_ONLINE_AUTO
       
   745 // ----------------------------------------------------
       
   746 // Enable (1) or disable (0) .
       
   747 // Values are:
       
   748 //  0: automatic status message query is not shown when user changes his state to online. 
       
   749 //  1:  automatic status message query is  shown when user changes his state to online. 
       
   750 //   
       
   751 // By default this is enabled (1).
       
   752 // ----------------------------------------------------
       
   753 //
       
   754 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_ONLINE_AUTO { value = 1; }
       
   755 
       
   756 // RSC_CHAT_VARIATION_AWAY_AUTO
       
   757 // ----------------------------------------------------
       
   758 // Enable (1) or disable (0) .
       
   759 // Values are:
       
   760 //  0: automatic status message query is not shown when user changes his state to Away. 
       
   761 //  1:  automatic status message query is  shown when user changes his state to Away. 
       
   762 //   
       
   763 // By default this is enabled (1).
       
   764 // ----------------------------------------------------
       
   765 //
       
   766 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_AWAY_AUTO { value = 1; }
       
   767 
       
   768 // RSC_CHAT_VARIATION_BUSY_AUTO
       
   769 // ----------------------------------------------------
       
   770 // Enable (1) or disable (0) .
       
   771 // Values are:
       
   772 //  0: automatic status message query is not shown when user changes his state to busy. 
       
   773 //  1:  automatic status message query is  shown when user changes his state to busy. 
       
   774 //   
       
   775 // By default this is enabled (1).
       
   776 // ----------------------------------------------------
       
   777 //
       
   778 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_BUSY_AUTO { value = 1; }
       
   779 
       
   780 // RSC_CHAT_VARIATION_ONLINE_OPTION
       
   781 // ----------------------------------------------------
       
   782 // Enable (1) or disable (0) .
       
   783 // Values are:
       
   784 //  0: status message option  is not available when user in online. 
       
   785 //  1: status message option  is available when user in online. 
       
   786 //   
       
   787 // By default this is enabled (1).
       
   788 // ----------------------------------------------------
       
   789 //
       
   790 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_ONLINE_OPTION { value = 1; }
       
   791 
       
   792 // RSC_CHAT_VARIATION_AWAY_OPTION
       
   793 // ----------------------------------------------------
       
   794 // Enable (1) or disable (0) .
       
   795 // Values are:
       
   796 //  0: status message option  is not available when user in away status. 
       
   797 //  1: status message option  is available when user in away status. 
       
   798 //   
       
   799 // By default this is enabled (1).
       
   800 // ----------------------------------------------------
       
   801 //
       
   802 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_AWAY_OPTION { value = 1; }
       
   803 
       
   804 // RSC_CHAT_VARIATION_BUSY_OPTION
       
   805 // ----------------------------------------------------
       
   806 // Enable (1) or disable (0) .
       
   807 // Values are:
       
   808 //  0: status message option  is not available when user in busy status. 
       
   809 //  1: status message option  is available when user in busy status. 
       
   810 //   
       
   811 // By default this is enabled (1).
       
   812 // ----------------------------------------------------
       
   813 //
       
   814 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_BUSY_OPTION { value = 1; }
       
   815 
       
   816 // RSC_CHAT_VARIATION_HIDE_ONLY_PREFIX
       
   817 // ----------------------------------------------------
       
   818 // Enable (1) or disable (0) hiding wv: part.
       
   819 // Values are:
       
   820 //  0: wv: part is shown on UI. 
       
   821 //  1: wv: part is not shown on UI.
       
   822 //
       
   823 // By default this is disabled (0).
       
   824 // ----------------------------------------------------
       
   825 //
       
   826 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_HIDE_ONLY_PREFIX { value = 0; }
       
   827 
       
   828 // RSC_CHAT_VARIATION_BLOCK_QUERY
       
   829 // ----------------------------------------------------
       
   830 // Enable (1) or disable (0) .
       
   831 // Values are:
       
   832 //  0: Block query is not shown when a contact is deleted. 
       
   833 //  1: Block query is shown after deleting a contact. 
       
   834 //   
       
   835 // By default this is enabled (1).
       
   836 // ----------------------------------------------------
       
   837 //
       
   838 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_BLOCK_QUERY { value = 1; }
       
   839 
       
   840 // RSC_CHAT_VARIATION_CONTACT_LISTS_CAPITALIZED
       
   841 // ----------------------------------------------------
       
   842 // Enable (1) or disable (0) .
       
   843 // Values are:
       
   844 //  0: Contact lists are not capitalized. 
       
   845 //  1: Contact lists are  capitalized. 
       
   846 //   
       
   847 // By default this is disabled (0).
       
   848 // ----------------------------------------------------
       
   849 //
       
   850 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_CONTACT_LISTS_CAPITALIZED { value = 0; }
       
   851 
       
   852 
       
   853 #include "IMSmileUtilityNG.hrh"
       
   854 #include "IMSmileUtilityNG.rh"
       
   855 #include <chatNG.mbg>
       
   856 
       
   857 RESOURCE IM_SMILE_ARRAY r_smile_array_resource
       
   858     {
       
   859     smiles =
       
   860         {
       
   861         IM_SMILE
       
   862             {
       
   863             icon_id = EMbmChatngQgn_prop_im_smileys_happy;
       
   864             mask_id = EMbmChatngQgn_prop_im_smileys_happy_mask;
       
   865             strings = { LBUF { txt = ":-)"; },
       
   866                     LBUF { txt = ":)"; } };
       
   867             },
       
   868         IM_SMILE
       
   869             {
       
   870             icon_id = EMbmChatngQgn_prop_im_smileys_sad;
       
   871             mask_id = EMbmChatngQgn_prop_im_smileys_sad_mask;
       
   872             strings = { LBUF { txt = ":-("; },
       
   873                     LBUF { txt = ":("; } };
       
   874             },
       
   875         IM_SMILE
       
   876             {
       
   877             icon_id = EMbmChatngQgn_prop_im_smileys_laugh;
       
   878             mask_id = EMbmChatngQgn_prop_im_smileys_laugh_mask;
       
   879             strings = { LBUF { txt = ":-D"; } };
       
   880             },
       
   881         IM_SMILE
       
   882             {
       
   883             icon_id = EMbmChatngQgn_prop_im_smileys_wink;
       
   884             mask_id = EMbmChatngQgn_prop_im_smileys_wink_mask;
       
   885             strings = { LBUF { txt = ";-)"; } };
       
   886             },
       
   887         IM_SMILE
       
   888             {
       
   889             icon_id = EMbmChatngQgn_prop_im_smileys_kiss;
       
   890             mask_id = EMbmChatngQgn_prop_im_smileys_kiss_mask;
       
   891             strings = { LBUF { txt = ":-x"; } };
       
   892             },
       
   893         IM_SMILE
       
   894             {
       
   895             icon_id = EMbmChatngQgn_prop_im_smileys_angry;
       
   896             mask_id = EMbmChatngQgn_prop_im_smileys_angry_mask;
       
   897             strings = { LBUF { txt = "X-("; } };
       
   898             },
       
   899         IM_SMILE
       
   900             {
       
   901             icon_id = EMbmChatngQgn_prop_im_smileys_bored;
       
   902             mask_id = EMbmChatngQgn_prop_im_smileys_bored_mask;
       
   903             strings = { LBUF { txt = ":oI"; } };
       
   904             },
       
   905         IM_SMILE
       
   906             {
       
   907             icon_id = EMbmChatngQgn_prop_im_smileys_crying;
       
   908             mask_id = EMbmChatngQgn_prop_im_smileys_crying_mask;
       
   909             strings = { LBUF { txt = ":'("; } };
       
   910             },
       
   911         IM_SMILE
       
   912             {
       
   913             icon_id = EMbmChatngQgn_prop_im_smileys_glasses;
       
   914             mask_id = EMbmChatngQgn_prop_im_smileys_glasses_mask;
       
   915             strings = { LBUF { txt = "8-]"; } };
       
   916             },        
       
   917         IM_SMILE
       
   918             {
       
   919             icon_id = EMbmChatngQgn_prop_im_smileys_indif;
       
   920             mask_id = EMbmChatngQgn_prop_im_smileys_indif_mask;
       
   921             strings = { LBUF { txt = ":-I"; } };
       
   922             },
       
   923         IM_SMILE
       
   924             {
       
   925             icon_id = EMbmChatngQgn_prop_im_smileys_robot;
       
   926             mask_id = EMbmChatngQgn_prop_im_smileys_robot_mask;
       
   927             strings = { LBUF { txt = "[:]"; } };
       
   928             },
       
   929         IM_SMILE
       
   930             {
       
   931             icon_id = EMbmChatngQgn_prop_im_smileys_shock;
       
   932             mask_id = EMbmChatngQgn_prop_im_smileys_shock_mask;
       
   933             strings = { LBUF { txt = "8-)"; } };
       
   934             },
       
   935         IM_SMILE
       
   936             {
       
   937             icon_id = EMbmChatngQgn_prop_im_smileys_skeptical;
       
   938             mask_id = EMbmChatngQgn_prop_im_smileys_skeptical_mask;
       
   939             strings = { LBUF { txt = ":-/"; } };
       
   940             },
       
   941         IM_SMILE
       
   942             {
       
   943             icon_id = EMbmChatngQgn_prop_im_smileys_sleepy;
       
   944             mask_id = EMbmChatngQgn_prop_im_smileys_sleepy_mask;
       
   945             strings = { LBUF { txt = "|-I"; } };
       
   946             },
       
   947         IM_SMILE
       
   948             {
       
   949             icon_id = EMbmChatngQgn_prop_im_smileys_sunglasses;
       
   950             mask_id = EMbmChatngQgn_prop_im_smileys_sunglasses_mask;
       
   951             strings = { LBUF { txt = "B-)"; } };
       
   952             },
       
   953         IM_SMILE
       
   954             {
       
   955             icon_id = EMbmChatngQgn_prop_im_smileys_surprise;
       
   956             mask_id = EMbmChatngQgn_prop_im_smileys_surprise_mask;
       
   957             strings = { LBUF { txt = "8-O"; } };
       
   958             },
       
   959         IM_SMILE
       
   960             {
       
   961             icon_id = EMbmChatngQgn_prop_im_smileys_tired;
       
   962             mask_id = EMbmChatngQgn_prop_im_smileys_tired_mask;
       
   963             strings = { LBUF { txt = "I-)"; } };
       
   964             },
       
   965         IM_SMILE
       
   966             {
       
   967             icon_id = EMbmChatngQgn_prop_im_smileys_veryhappy;
       
   968             mask_id = EMbmChatngQgn_prop_im_smileys_veryhappy_mask;
       
   969             strings = { LBUF { txt = ":-]"; } };
       
   970             },
       
   971         IM_SMILE
       
   972             {
       
   973             icon_id = EMbmChatngQgn_prop_im_smileys_verysad;
       
   974             mask_id = EMbmChatngQgn_prop_im_smileys_verysad_mask;
       
   975             strings = { LBUF { txt = ":-["; } };
       
   976             },
       
   977         IM_SMILE
       
   978             {
       
   979             icon_id = EMbmChatngQgn_prop_im_smileys_wickedsmile;
       
   980             mask_id = EMbmChatngQgn_prop_im_smileys_wickedsmile_mask;
       
   981             strings = { LBUF { txt = ":->"; } };
       
   982             }
       
   983         };
       
   984     }
       
   985 
       
   986 // RSC_CHAT_VARIATION_OVERRIDE_DEFAULT_TONE
       
   987 // ----------------------------------------------------
       
   988 // Override default sound from Central repository (1) or not (0).
       
   989 // If this flag is (1) then the default sound received from
       
   990 // Central Repository is overridden and the default sound file
       
   991 // name is read from r_default_tone resource.
       
   992 //
       
   993 // Note! This is just default tone, and it's not forced to exist in
       
   994 // tone selection list. You should keep the default tone in the same directory
       
   995 // with other tone files if you want it to show in tone selection list.
       
   996 //
       
   997 // Default value is (0)
       
   998 // ----------------------------------------------------
       
   999 //
       
  1000 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_OVERRIDE_DEFAULT_TONE { value = 0; }
       
  1001 
       
  1002 RESOURCE TBUF r_default_tone { buf = ""; }
       
  1003 
       
  1004 // RSC_CHAT_VARIATION_MESSAGE_MAX_LENGTH:
       
  1005 // ------------------------------------
       
  1006 // Defines the maximum length (in characters) of message that can
       
  1007 // be written to message editor. Basically the upper limit for this is
       
  1008 // limited only by amount of free memory when sending messages.
       
  1009 // If this is less than or equal to zero, default value will be used.
       
  1010 // Default message length is 400 characters.
       
  1011 // NOTE: This value has to be also defined for r_chatclient_send_text_query
       
  1012 // as the EDWIN maxlenght.
       
  1013 //
       
  1014 //----------------------------------------------------
       
  1015 //
       
  1016 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_MESSAGE_MAX_LENGTH { value = 400; }
       
  1017 
       
  1018 RESOURCE DIALOG r_chatclient_send_text_query
       
  1019     {
       
  1020     flags = EGeneralQueryFlags;
       
  1021     buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
  1022     items=
       
  1023         {
       
  1024         DLG_LINE
       
  1025             {
       
  1026             type=EAknCtQuery;
       
  1027             id=EGeneralQuery;
       
  1028             control= AVKON_DATA_QUERY
       
  1029                 {
       
  1030                     layout = EDataLayout;
       
  1031                     label = qtn_chat_opt_new_conv_message;
       
  1032                     control=EDWIN
       
  1033                         {
       
  1034                         flags= EEikEdwinNoHorizScrolling | EEikEdwinResizable;
       
  1035                         maxlength=400;	// this has to be the same as RSC_CHAT_VARIATION_MESSAGE_MAX_LENGTH
       
  1036                         width=16;
       
  1037                         lines=1;
       
  1038                         default_case = EAknEditorLowerCase;
       
  1039                         };
       
  1040                 };
       
  1041             }
       
  1042         };
       
  1043     }
       
  1044 
       
  1045 #ifndef RD_30_COMPATIBILITY_MODE
       
  1046 // These cannot be compiled in backported 3.0 environment
       
  1047 
       
  1048 // RSC_CHAT_VARIATION_BRANDED_TONES
       
  1049 // ----------------------------------------------------
       
  1050 // Use branded tone list or not.
       
  1051 // If this flag is set on (1) brandable tones are used
       
  1052 // and tone list is configured by customer,
       
  1053 // see r_audio_clf_list_model and r_audio_fldirectories.
       
  1054 // If this flag is disabled (0) brandable tones are
       
  1055 // not defined and default tone list is used.
       
  1056 //
       
  1057 // Default value is (0)
       
  1058 //
       
  1059 // NOTE! If feature EIMFeatBrandableTones is variated off with
       
  1060 // cenrep variation (see IMVariant.hrh and
       
  1061 // keys_s60instant_messaging_ui.xls) don't use these variation
       
  1062 // flags. Set this to (0).
       
  1063 // ----------------------------------------------------
       
  1064 //
       
  1065 RESOURCE NUMBER_INT32 RSC_CHAT_VARIATION_BRANDED_TONES { value = 0; }
       
  1066 
       
  1067 // r_audio_clf_list_model
       
  1068 // ----------------------------------------------------
       
  1069 // If customer specific tones are specifed,
       
  1070 // this resource structure must be filled.
       
  1071 //
       
  1072 // Example (see more from clfcontentlisting.rh):
       
  1073 //
       
  1074 // RESOURCE CLF_LIST_MODEL r_list_model
       
  1075 //     {
       
  1076 //     mime_type_array = CLF_MIME_TYPE_ARRAY
       
  1077 //         {
       
  1078 //         mime_types =
       
  1079 //             {
       
  1080 //             LBUF { txt = "application/vnd.nokia.ringing-tone"; },
       
  1081 //             LBUF { txt = "audio/*"; }
       
  1082 //             };
       
  1083 //         };
       
  1084 //     media_type_array = CLF_MEDIA_TYPE_ARRAY
       
  1085 //         {
       
  1086 //         media_types =
       
  1087 //             {
       
  1088 //             CLF_MEDIA_TYPE { media_type = ECLFMediaTypeSound; }
       
  1089 //             };
       
  1090 //         };
       
  1091 //     sorting_style = CLF_SORTING_STYLE
       
  1092 //         {
       
  1093 //         ordering = ECLFOrderingAscending;
       
  1094 //         data_type = ECLFItemDataTypeDesC;
       
  1095 //         fields =
       
  1096 //             {
       
  1097 //             CLF_FIELD_ID { field_id = ECLFFieldIdFileName; }
       
  1098 //             };
       
  1099 //         };
       
  1100 //     }
       
  1101 //
       
  1102 // ----------------------------------------------------
       
  1103 //
       
  1104 
       
  1105 #include <clfcontentlisting.rh>
       
  1106 #include <filelistmodel.rh>
       
  1107 #include <pathconfiguration.hrh>
       
  1108 RESOURCE CLF_LIST_MODEL r_audio_clf_list_model
       
  1109     {
       
  1110     mime_type_array = CLF_MIME_TYPE_ARRAY
       
  1111          {
       
  1112          mime_types =
       
  1113              {
       
  1114              LBUF { txt = "audio/*"; },
       
  1115              LBUF { txt = "application/vnd.nokia.ringing-tone"; }
       
  1116              };
       
  1117          };
       
  1118      media_type_array = CLF_MEDIA_TYPE_ARRAY
       
  1119          {
       
  1120          media_types =
       
  1121              {
       
  1122              CLF_MEDIA_TYPE { media_type = ECLFMediaTypeSound; }
       
  1123              };
       
  1124          };
       
  1125      sorting_style = CLF_SORTING_STYLE
       
  1126          {
       
  1127          ordering = ECLFOrderingAscending;
       
  1128          data_type = ECLFItemDataTypeDesC;
       
  1129          fields =
       
  1130              {
       
  1131              CLF_FIELD_ID { field_id = ECLFFieldIdFileName; }
       
  1132              };
       
  1133          };
       
  1134     }
       
  1135 
       
  1136 // r_audio_fldirectories
       
  1137 // ----------------------------------------------------
       
  1138 // If customer specific tones are specifed,
       
  1139 // this resource structure must be filled.
       
  1140 //
       
  1141 // Example (see more from filelistmodel.rh):
       
  1142 //
       
  1143 // RESOURCE FILELISTDIRECTORIES r_audio_fldirectories
       
  1144 //    {
       
  1145 //    // Scan these ROM directories
       
  1146 //    // Can be left empty -> only tones from PhoneDirectories are shown
       
  1147 //    RomDirectories =
       
  1148 //        {
       
  1149 //        LBUF { txt = text_rom_root_path text_sounds_path; },
       
  1150 //        LBUF { txt = text_rom_root_path text_digital_sounds_path; },
       
  1151 //        LBUF { txt = text_rom_root_path text_simple_sounds_path; }
       
  1152 //        };
       
  1153 //    // Show only these phone directories
       
  1154 //    // NOTE! These locations must be
       
  1155 //    // inside C:\\data and E: folders (including subdirectories)
       
  1156 //    PhoneDirectories =
       
  1157 //        {
       
  1158 //        LBUF { txt = "c:\\data\\sounds\\IMSounds\\"; },
       
  1159 //        LBUF { txt = "c:\\data\\sounds\\digital\\IMSounds\\"; }
       
  1160 //        };
       
  1161 // ----------------------------------------------------
       
  1162 //
       
  1163 RESOURCE FILELISTDIRECTORIES r_audio_fldirectories
       
  1164     {
       
  1165     // Scan these ROM directories
       
  1166     RomDirectories =
       
  1167         {
       
  1168         LBUF { txt = text_rom_root_path text_sounds_path; },
       
  1169         LBUF { txt = text_rom_root_path text_digital_sounds_path; },
       
  1170         LBUF { txt = text_rom_root_path text_simple_sounds_path; }
       
  1171         };
       
  1172     // Show only these these phone directories
       
  1173     // NOTE! These locations must be
       
  1174     // inside C:\\data and E: folders (including subdirectories)
       
  1175     PhoneDirectories =
       
  1176         {
       
  1177         LBUF { txt = "c:\\data\\sounds\\imsounds\\"; }
       
  1178         };
       
  1179     }
       
  1180 #endif  // RD_30_COMPATIBILITY_MODE 
       
  1181 //----------------------------------------------------
       
  1182 // S60 v3.0 Compatibility resources
       
  1183 //----------------------------------------------------
       
  1184 //
       
  1185 #ifdef RD_30_COMPATIBILITY_MODE
       
  1186 #include "CAVariation30.rss"
       
  1187 #endif //RD_30_COMPATIBILITY_MODE   
       
  1188 
       
  1189 //end of file
       
  1190