pushmtm/Data/PushViewer.rss
branchRCL_3
changeset 48 8e6fa1719340
equal deleted inserted replaced
47:6385c4c93049 48:8e6fa1719340
       
     1 /*
       
     2 * Copyright (c) 2002 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 the License "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:  This file contains all the resources for the PushViewer.app.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 //  RESOURCE IDENTIFIER
       
    21 
       
    22 NAME    PSHV
       
    23 
       
    24 //  INCLUDES
       
    25 
       
    26 #include "PushViewer.hrh"
       
    27 #include <pushviewer.loc>
       
    28 #include <pushmtmui.loc>
       
    29 #include <uikon.rh>
       
    30 #include <eikon.rh>
       
    31 #include <avkon.rh>
       
    32 #include <avkon.hrh>
       
    33 #include <avkon.rsg>
       
    34 #include <MsgEditor.mbg>
       
    35 #include <avkon.loc>
       
    36 #include <bldvariant.hrh>
       
    37 #include <data_caging_paths_strings.hrh>
       
    38 
       
    39 //  RESOURCE DEFINITIONS 
       
    40 
       
    41 RESOURCE RSS_SIGNATURE { }
       
    42 
       
    43 RESOURCE TBUF { buf=""; } // This is not a file based application
       
    44 
       
    45 RESOURCE EIK_APP_INFO
       
    46     {
       
    47     menubar = r_pushviewer_menu;
       
    48     cba = r_pushviewer_softkeys_open;
       
    49     status_pane = r_pushviewer_status_pane;
       
    50     }
       
    51 
       
    52 #include <appinfo.rh>
       
    53 
       
    54 RESOURCE LOCALISABLE_APP_INFO r_pushviewer_localisable_app_info
       
    55     {
       
    56     }
       
    57 
       
    58 RESOURCE STATUS_PANE_APP_MODEL r_pushviewer_status_pane
       
    59 	{
       
    60 	panes =
       
    61 		{
       
    62 		SPANE_PANE
       
    63 			{
       
    64 			id = EEikStatusPaneUidTitle;
       
    65 			type = EAknCtTitlePane;
       
    66 			resource = r_pushviewer_title_pane;
       
    67 			}
       
    68 		};
       
    69 	}
       
    70 
       
    71 RESOURCE TITLE_PANE r_pushviewer_title_pane
       
    72 	{
       
    73 	txt = qtn_wml_push_title_viewer;
       
    74 	}
       
    75 
       
    76 RESOURCE IMAGE r_pushviewer_navi_image
       
    77     {
       
    78     bmpfile = APP_BITMAP_DIR"\\msgeditor.mbm";
       
    79     bmpid = EMbmMsgeditorQgn_prop_folder_sms_tab1;
       
    80     bmpmask = EMbmMsgeditorQgn_prop_folder_sms_tab1_mask;
       
    81     }
       
    82 
       
    83 RESOURCE CBA r_pushviewer_softkeys
       
    84     {
       
    85     buttons =
       
    86         {
       
    87         CBA_BUTTON { id = EPushViewerCmdOptions; txt = text_softkey_option; },
       
    88         CBA_BUTTON { id = EPushViewerCmdBack; txt = text_softkey_back; },
       
    89         CBA_BUTTON { id = EAknSoftkeyEmpty; txt = text_softkey_empty; }
       
    90         };
       
    91     }
       
    92 
       
    93 RESOURCE CBA r_pushviewer_softkeys_open
       
    94     {
       
    95     buttons =
       
    96         {
       
    97         CBA_BUTTON { id = EPushViewerCmdOptions; txt = text_softkey_option; },
       
    98         CBA_BUTTON { id = EPushViewerCmdBack; txt = text_softkey_back; },
       
    99         CBA_BUTTON { id = EPushViewerCmdLoadService; txt = qtn_mce_inbox_open; }
       
   100         };
       
   101     }
       
   102 
       
   103 RESOURCE MENU_BAR r_pushviewer_menu
       
   104     {
       
   105     titles=
       
   106         {
       
   107         MENU_TITLE { menu_pane = r_pushviewer_options_menu_pane; }
       
   108         };
       
   109     }
       
   110 
       
   111 RESOURCE MENU_PANE r_pushviewer_options_menu_pane
       
   112 	{
       
   113     items=
       
   114         {
       
   115         MENU_ITEM
       
   116             {
       
   117 			command = EPushViewerCmdLoadService;
       
   118             txt = qtn_mce_inbox_fetch;
       
   119             },
       
   120 		MENU_ITEM
       
   121 			{
       
   122 			command = EPushViewerCmdDelete;
       
   123 			txt = qtn_wml_push_cmd_delete;
       
   124 			},
       
   125 		MENU_ITEM
       
   126 			{
       
   127 			command = EPushViewerCmdMessageInfo;
       
   128 			txt = qtn_wml_push_cmd_info;
       
   129 			},
       
   130 #ifdef __SERIES60_HELP
       
   131 		MENU_ITEM
       
   132 			{
       
   133 			command = EPushViewerCmdHelp;
       
   134 			txt = qtn_options_help;
       
   135 			},
       
   136 #endif //__SERIES60_HELP
       
   137 		MENU_ITEM
       
   138 			{
       
   139 			command = EPushViewerCmdAknExit;
       
   140 			txt = qtn_wml_push_cmd_exit;
       
   141 			}
       
   142 		};
       
   143 	}
       
   144 
       
   145 RESOURCE TBUF r_pushviewer_mainpane_text { buf = qtn_service_inbox_push_viewer_view_text; }
       
   146 
       
   147 RESOURCE DIALOG r_pushviewer_entry_delete_confirm
       
   148 	{
       
   149 	flags = EGeneralQueryFlags;
       
   150 	buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
       
   151    	items =
       
   152 		{
       
   153 		DLG_LINE
       
   154 			{
       
   155 			type = EAknCtQuery;
       
   156 			id = EGeneralQuery;
       
   157 			control = AVKON_CONFIRMATION_QUERY 
       
   158 				{ 
       
   159 				layout = EConfirmationLayout;
       
   160 				label = qtn_wml_push_view_query_del;
       
   161 				};
       
   162 			}
       
   163 		};
       
   164 	}
       
   165 
       
   166 RESOURCE TBUF r_pushviewer_expired_note { buf = qtn_wml_push_note_msg_expired; }
       
   167 
       
   168 // Deleting message & replacement info notes.
       
   169 RESOURCE TBUF r_pushviewer_info_deleted { buf = qtn_wml_push_note_msg_expired; }
       
   170 RESOURCE TBUF r_pushviewer_info_replaced { buf = qtn_service_inbox_updating_message_received; }
       
   171 
       
   172 // End of file.