messagingapp/msgutils/unidatamodel/unimmsdataplugin/UniDataModel.rss
changeset 25 84d9eb65b26f
parent 23 238255e8b033
child 27 e4592d119491
child 37 518b245aa84c
child 79 2981cb3aa489
equal deleted inserted replaced
23:238255e8b033 25:84d9eb65b26f
     1 /*
       
     2 * Copyright (c) 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: 
       
    15 *       UniEditor/Model resource file.
       
    16 *
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 // ========== RESOURCE IDENTIFIER ==========================
       
    22 
       
    23 NAME    UEDM
       
    24 
       
    25 // ========== INCLUDE FILES ================================
       
    26 
       
    27 #include <eikon.rh>
       
    28 #include <eikon.rsg>
       
    29 
       
    30 #include "UniSmil.hrh"
       
    31 #include "UniSmil.rh"
       
    32 
       
    33 // ========== CONSTANTS ====================================
       
    34 
       
    35 // ========== MACROS =======================================
       
    36 
       
    37 // ========== RESOURCE DEFINITIONS =========================
       
    38 
       
    39 RESOURCE RSS_SIGNATURE { }
       
    40 
       
    41 // ---------------------------------------------------------
       
    42 //  Additional resources
       
    43 // ---------------------------------------------------------
       
    44 //
       
    45 
       
    46 // Arrays of MIME types for MsgData to recognize supported types
       
    47 //
       
    48 // NOTE: Mimetypes must contain only US-ASCII characters.
       
    49 
       
    50 //
       
    51 // Default file name for attachment
       
    52 //
       
    53 RESOURCE TBUF r_mmdu_default_file_name      { buf = qtn_mms_no_name_for_file; }
       
    54 
       
    55 //
       
    56 // String for empty page in Objects view
       
    57 //
       
    58 RESOURCE TBUF r_mmdu_empty_slide            { buf = qtn_mms_item_title_empty_slide; }
       
    59 
       
    60 //----------------------------------------------------  
       
    61 //    COMPOSE_PARAMS
       
    62 //    Parameters to define how to do composing
       
    63 //
       
    64 //    r_root_layout_compose
       
    65 //      There is only one option left.
       
    66 //
       
    67 //    r_display_width   and 
       
    68 //    r_display_height
       
    69 //      Values are defined here because it's bit unclear
       
    70 //      whether to use actual display dimensions
       
    71 //      w=176 h=208
       
    72 //      or dimensions minus status pane height (44)
       
    73 //      which is the size used for displaying the message                        
       
    74 //      w=176, h=164.
       
    75 //      The third alternative would be to use some 
       
    76 //      very large height value because virtual viewing 
       
    77 //      area can be expanded in that direction.
       
    78 //
       
    79 //    r_compose_xmlns
       
    80 //      To generate xmlns or not.
       
    81 //
       
    82 //----------------------------------------------------
       
    83 //
       
    84 RESOURCE COMPOSE_PARAMS r_compose_params
       
    85     {
       
    86     r_root_layout_compose   = ESmilDisplayRootLayout;  // THIS IS ONLY OPTION
       
    87     r_display_width         = 176;
       
    88     r_display_height        = 208;
       
    89     r_compose_xmlns         = ESmilYesXmlns;
       
    90     r_top_padding           = 5;
       
    91     r_region_padding        = 5;
       
    92     r_bottom_padding        = 20;
       
    93     }
       
    94 
       
    95 //----------------------------------------------------
       
    96 //   
       
    97 //    IMAGE_REGION
       
    98 //    Values for composing.
       
    99 //    NOTE: heigth, width are not checked in code 
       
   100 //          not to ecxeed rootlayout dimensions. 
       
   101 //
       
   102 //----------------------------------------------------
       
   103 //
       
   104 RESOURCE REGION r_image_region_attributes
       
   105     {
       
   106     r_id            = "Image";
       
   107     r_fit           = "meet"; 
       
   108     r_max_height    = 120;        
       
   109     r_min_height    = 120;        
       
   110     r_max_width     = 160;    
       
   111     r_min_width     = 160;        
       
   112     r_top           = 0;      
       
   113     r_left          = 0;
       
   114     }
       
   115 
       
   116 //----------------------------------------------------
       
   117 //   
       
   118 //    TEXT_REGION
       
   119 //    Values for composing.
       
   120 //    NOTE: heigth, width should have sensible values 
       
   121 //          based on the r_root_layout_compose param.
       
   122 //          There is no code to check some weird cases. 
       
   123 //
       
   124 //----------------------------------------------------
       
   125 //
       
   126 RESOURCE REGION r_text_region_attributes
       
   127     {
       
   128     r_id            = "Text";
       
   129     r_fit           = "scroll"; 
       
   130     r_max_height    = 200;        
       
   131     r_min_height    = 40;     
       
   132     r_max_width     = 160;    // MUST ALWAYS BE SAME AS MAX IMAGE WIDTH
       
   133     r_min_width     = 160;      
       
   134     r_top           = 0;      
       
   135     r_left          = 0;
       
   136     }
       
   137 
       
   138 //----------------------------------------------------
       
   139 //   
       
   140 //    SLIDE_PARAMETERs
       
   141 //    Values for composing.
       
   142 //    NOTE: 
       
   143 //
       
   144 //----------------------------------------------------
       
   145 //
       
   146 RESOURCE SLIDE r_slide_params
       
   147     {
       
   148     r_default_duration_milliseconds    = 5000;
       
   149     r_default_when_audio_milliseconds  = 5000;
       
   150     }
       
   151 
       
   152 // End of File