00001 /* 00002 * Copyright © 2008 Nokia Corporation. 00003 */ 00004 00005 // RESOURCE IDENTIFIER 00006 NAME AWIZ // 4 letter ID 00007 00008 // INCLUDES 00009 00010 #include <eikon.rh> 00011 #include "tzlocalizer.hrh" 00012 #include <avkon.rsg> 00013 #include <avkon.rh> 00014 #include <avkon.mbg> 00015 #include <appinfo.rh> 00016 00017 // RESOURCE DEFINITIONS 00018 00019 RESOURCE RSS_SIGNATURE { } 00020 00021 RESOURCE TBUF { buf="TZLocalizer"; } 00022 00023 RESOURCE EIK_APP_INFO 00024 { 00025 menubar=r_tzlocalizer_menubar; 00026 hotkeys=r_tzlocalizer_hotkeys; 00027 } 00028 00029 //---------------------------------------------------- 00030 // 00031 // r_tzlocalizer_hotkeys 00032 // ?description 00033 // 00034 //---------------------------------------------------- 00035 // 00036 RESOURCE HOTKEYS r_tzlocalizer_hotkeys 00037 { 00038 control= 00039 { 00040 HOTKEY { command=EAknCmdExit; key='e'; } 00041 }; 00042 } 00043 00044 //---------------------------------------------------- 00045 // 00046 // r_tzlocalizer_menubar 00047 // ?description 00048 // 00049 //---------------------------------------------------- 00050 // 00051 RESOURCE MENU_BAR r_tzlocalizer_menubar 00052 { 00053 titles= 00054 { 00055 MENU_TITLE { menu_pane=r_tzlocalizer_menu; txt="File"; } 00056 }; 00057 } 00058 00059 //---------------------------------------------------- 00060 // 00061 // r_tzlocalizer_menu_datafile 00062 // program 'main' menu 00063 // 00064 //---------------------------------------------------- 00065 RESOURCE MENU_PANE r_tzlocalizer_menu 00066 { 00067 items= 00068 { 00069 MENU_ITEM { command=ETZLocalizerCmdSearchCities; txt="Search City"; }, 00070 MENU_ITEM { command=ETZLocalizerCmdSearchCitiesInGroup; txt="Search cities in group"; }, 00071 MENU_ITEM { command=ETZLocalizerCmdAddCity; txt="Add City"; }, 00072 MENU_ITEM { command=ETZLocalizerCmdRemoveCity;txt="Remove City"; }, 00073 MENU_ITEM { command=EAknCmdExit; txt="Exit"; } 00074 }; 00075 } 00076 00077 //---------------------------------------------------- 00078 // 00079 // r_dataquery_data_query 00080 // dialog which asks text input from user 00081 // 00082 //---------------------------------------------------- 00083 RESOURCE DIALOG r_dataquery_data_query 00084 { 00085 flags = EGeneralQueryFlags; 00086 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; 00087 00088 items = 00089 { 00090 DLG_LINE 00091 { 00092 type = EAknCtQuery; 00093 id = EDataQueryDlgCIdDataQuery; 00094 control = AVKON_DATA_QUERY 00095 { 00096 layout = EDataLayout; 00097 control = 00098 EDWIN 00099 { 00100 width = KMaxNameLength; 00101 lines = 1; 00102 maxlength = KMaxNameLength; 00103 }; 00104 }; 00105 } 00106 }; 00107 } 00108 00109 //---------------------------------------------------- 00110 // 00111 // r_tzlocalizer_dialog 00112 // main dialog which is showing all the time. 00113 // 00114 //---------------------------------------------------- 00115 RESOURCE DIALOG r_tzlocalizer_dialog 00116 { 00117 flags=EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | EEikDialogFlagFillAppClientRect | 00118 EEikDialogFlagCbaButtons | EEikDialogFlagModeless | EEikDialogFlagNoBorder; 00119 00120 buttons=R_AVKON_SOFTKEYS_OPTIONS_EXIT; 00121 items= 00122 { 00123 DLG_LINE 00124 { 00125 id = ETZLocalizerDlgList; 00126 type = EAknCtDoubleListBox; 00127 control = LISTBOX 00128 { 00129 flags = EAknListBoxSelectionList; 00130 }; 00131 } 00132 }; 00133 } 00134 00135 // ---------------------------------------------------------------------------- 00136 // 00137 // r_localisable_app_info 00138 // 00139 // ---------------------------------------------------------------------------- 00140 // 00141 RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info 00142 { 00143 short_caption = "TZLocalizer"; 00144 caption_and_icon = 00145 CAPTION_AND_ICON_INFO 00146 { 00147 caption = "TZLocalizer"; 00148 00149 number_of_icons = 1; 00150 icon_file = "\\resource\\apps\\TZLocalizer.mif"; 00151 }; 00152 } 00153 00154 // End of File 00155
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.