mobilemessaging/mmsui/mtm/MmsUi.rss
branchRCL_3
changeset 27 7fdbb852d323
parent 0 72b543305e3a
equal deleted inserted replaced
26:ebe688cedc25 27:7fdbb852d323
       
     1 /*
       
     2 * Copyright (c) 2002-2006 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:  
       
    15 *     This file contains all the resources for the module.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 //  RESOURCE IDENTIFIER
       
    22 NAME    MMSU
       
    23 
       
    24 //  INCLUDES
       
    25 #include <eikon.rh>
       
    26 #include <avkon.rsg>
       
    27 #include <avkon.hrh>
       
    28 #include <avkon.rsg>
       
    29 #include <avkon.rh>
       
    30 #include <mtud.rh>
       
    31 #include <MtmExtendedCapabilities.hrh>
       
    32 #include <avkon.loc>
       
    33 #include <muiusettingsarray.rh>
       
    34 #include <drmcommon.loc>
       
    35 #include <messaging.loc>
       
    36 
       
    37 #include <mmsui.loc>
       
    38 
       
    39 //  CONSTANTS  
       
    40 
       
    41 //  MACROS  
       
    42 
       
    43 //  RESOURCE DEFINITIONS 
       
    44 
       
    45     RESOURCE RSS_SIGNATURE { }
       
    46 
       
    47     RESOURCE TBUF { buf="MmsUi"; }
       
    48 
       
    49     // Message Info
       
    50     RESOURCE TBUF r_mms_type_text         { buf = qtn_mms_msginfo_mms ; } // Multimedia message type string
       
    51     RESOURCE TBUF   r_mms_message_size_kb   { buf = qtn_size_kb; }
       
    52     RESOURCE TBUF r_postcard_type_text         { buf = qtn_mms_poca_msginfo_type; } // Postcard message type string
       
    53     RESOURCE TBUF r_audiomessage_type_text         { buf = qtn_msg_details_type_audio; } // Audio message type string
       
    54     
       
    55     // MMS priority in Message Info
       
    56     RESOURCE TBUF r_mms_message_priority_low	 { buf = qtn_mms_message_priority_low; }
       
    57     RESOURCE TBUF r_mms_message_priority_normal  { buf = qtn_mms_message_priority_normal; }
       
    58     RESOURCE TBUF r_mms_message_priority_high    { buf = qtn_mms_message_priority_high; }
       
    59 
       
    60     RESOURCE MTUD_FUNCTION_ARRAY r_mms_mtm_function_array
       
    61     {
       
    62     functions =
       
    63          {
       
    64     	 MTUD_FUNCTION
       
    65     	     {
       
    66              functiontext = qtn_msg_om_delivery_status;
       
    67              command = KMtmUiFunctionDeliveryStatus;
       
    68              flags = EMtudContextSpecific|EMtudAsynchronous|EMtudCommandTransferReceive;
       
    69      	     },
       
    70          MTUD_FUNCTION 
       
    71              {
       
    72              functiontext = qtn_mce_info;
       
    73              command = KMtmUiFunctionMessageInfo;
       
    74              flags = EMtudContextSpecific|EMtudAsynchronous|EMtudCommandTransferReceive;
       
    75              },
       
    76          MTUD_FUNCTION 
       
    77              {
       
    78              functiontext = qtn_mce_settings_mms;
       
    79              command = KMtmUiMceSettings;
       
    80              flags = EMtudCommandTransferSend;
       
    81              }
       
    82          };
       
    83      }
       
    84 
       
    85     RESOURCE TBUF r_mms_outbox_status_sending     { buf = qtn_mce_outbox_status_sending; }
       
    86     RESOURCE TBUF r_mms_outbox_status_waiting     { buf = qtn_mce_outbox_status_waiting; }
       
    87     RESOURCE TBUF r_mms_outbox_status_suspended   { buf = qtn_mce_outbox_status_suspended; }
       
    88     RESOURCE TBUF r_mms_outbox_status_failed      { buf = qtn_mce_outbox_status_failed; }
       
    89     RESOURCE TBUF r_mms_outbox_status_resend      { buf = qtn_mce_outbox_status_retry_at; }
       
    90 
       
    91 RESOURCE DIALOG r_mms_confirmation_query
       
    92     {
       
    93     flags = EGeneralQueryFlags;
       
    94     buttons = R_AVKON_SOFTKEYS_YES_NO__YES;  
       
    95     items=
       
    96         {
       
    97         DLG_LINE
       
    98             {
       
    99             type = EAknCtQuery;
       
   100             id = EGeneralQuery;
       
   101             control = AVKON_CONFIRMATION_QUERY
       
   102                 { 
       
   103                 layout = EConfirmationLayout;
       
   104                 label = "";
       
   105                 };
       
   106             }
       
   107         };
       
   108     }
       
   109 
       
   110 RESOURCE TBUF r_mms_cannot_fw_drm       { buf = qtn_drm_forw_forbid; }
       
   111 RESOURCE TBUF r_mms_send_wo_rights      { buf = qtn_drm_send_wo_rights_sd; }
       
   112 RESOURCE TBUF r_mms_send_wo_rights_mix  { buf = qtn_drm_send_wo_rights_misc; }
       
   113 
       
   114 
       
   115 //-----------------------------------------------------
       
   116 //    Dialog to display Delivery Status data.
       
   117 //-----------------------------------------------------
       
   118 RESOURCE DIALOG r_properties_message_query
       
   119 {
       
   120     flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
       
   121     buttons = R_AVKON_SOFTKEYS_OK_EMPTY__OK;
       
   122     items=
       
   123         {
       
   124         DLG_LINE 
       
   125             {
       
   126             type = EAknCtPopupHeadingPane;
       
   127             id = EAknMessageQueryHeaderId;
       
   128             control = AVKON_HEADING
       
   129                 {
       
   130                 };
       
   131             },
       
   132         DLG_LINE
       
   133             {
       
   134             type = EAknCtMessageQuery;
       
   135             id = EAknMessageQueryContentId;
       
   136             control = AVKON_MESSAGE_QUERY
       
   137                 {
       
   138                 };
       
   139             }
       
   140     };
       
   141 }
       
   142 
       
   143 
       
   144 //-----------------------------------------------------
       
   145 //    Localised resource strings for Delivery Status dialog.
       
   146 //-----------------------------------------------------
       
   147 RESOURCE TBUF r_mms_delivery_status_failed  { buf = qtn_mms_qry_status_label_failed;}
       
   148 RESOURCE TBUF r_mms_delivery_status_pending { buf = qtn_mms_qry_status_label_pending;}
       
   149 RESOURCE TBUF r_mms_delivery_status_delivered { buf = qtn_mms_qry_status_label_delivered; }
       
   150 RESOURCE TBUF r_mms_delivery_status_read { buf = qtn_mms_qry_status_label_read; }
       
   151 RESOURCE TBUF r_mms_delivery_status_unavailable { buf = qtn_mms_qry_status_label_unavailable; }
       
   152 
       
   153 RESOURCE TBUF r_mms_delivery_status_failed_plural  { buf = qtn_mms_qry_status_label_failed_plural;}
       
   154 RESOURCE TBUF r_mms_delivery_status_pending_plural { buf = qtn_mms_qry_status_label_pending_plural;}
       
   155 RESOURCE TBUF r_mms_delivery_status_delivered_plural { buf = qtn_mms_qry_status_label_delivered_plural; }
       
   156 RESOURCE TBUF r_mms_delivery_status_read_plural { buf = qtn_mms_qry_status_label_read_plural; }
       
   157 RESOURCE TBUF r_mms_delivery_status_unavailable_plural { buf = qtn_mms_qry_status_label_unavailable_plural; }
       
   158 
       
   159 RESOURCE TBUF r_mms_delivery_status_header { buf = qtn_msg_qry_title_delivery_status;}
       
   160 
       
   161 // End of File