examples/ForumNokia/TZLocalizer/data/TZLocalizer.rss

00001 /*
00002  * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
00003  *    
00004  * Redistribution and use in source and binary forms, with or without
00005  * modification, are permitted provided that the following conditions are met:
00006  *    
00007  *  * Redistributions of source code must retain the above copyright notice, this
00008  *    list of conditions and the following disclaimer.
00009  *  * Redistributions in binary form must reproduce the above copyright notice,
00010  *    this list of conditions and the following disclaimer in the documentation
00011  *    and/or other materials provided with the distribution.
00012  *  * Neither the name of Nokia Corporation nor the names of its contributors
00013  *    may be used to endorse or promote products derived from this software
00014  *    without specific prior written permission.
00015  *    
00016  *    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00017  *    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00018  *    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00019  *    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
00020  *    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00021  *    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
00022  *    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00023  *    CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00024  *    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
00025  *    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00026  *    
00027  *    Description:  
00028  */
00029 //  RESOURCE IDENTIFIER
00030 NAME    AWIZ // 4 letter ID
00031 
00032 //  INCLUDES
00033 
00034 #include <eikon.rh>
00035 #include "tzlocalizer.hrh"
00036 #include <avkon.rsg>
00037 #include <avkon.rh>
00038 #include <avkon.mbg>
00039 #include <appinfo.rh>
00040 
00041 //  RESOURCE DEFINITIONS 
00042 
00043 RESOURCE RSS_SIGNATURE { }
00044 
00045 RESOURCE TBUF { buf="TZLocalizer"; }
00046 
00047 RESOURCE EIK_APP_INFO
00048 {
00049     menubar=r_tzlocalizer_menubar;
00050     hotkeys=r_tzlocalizer_hotkeys;
00051 }
00052 
00053 //----------------------------------------------------
00054 //   
00055 //    r_tzlocalizer_hotkeys
00056 //    ?description
00057 //
00058 //----------------------------------------------------
00059 //
00060 RESOURCE HOTKEYS r_tzlocalizer_hotkeys
00061 {
00062     control=
00063     {
00064         HOTKEY { command=EAknCmdExit; key='e'; }
00065     };
00066 }
00067 
00068 //----------------------------------------------------
00069 //   
00070 //    r_tzlocalizer_menubar
00071 //    ?description
00072 //
00073 //----------------------------------------------------
00074 //
00075 RESOURCE MENU_BAR r_tzlocalizer_menubar
00076     {
00077     titles=
00078         {
00079         MENU_TITLE { menu_pane=r_tzlocalizer_menu; txt="File"; }
00080         };
00081     }
00082 
00083 //----------------------------------------------------
00084 //   
00085 //    r_tzlocalizer_menu_datafile
00086 //    program 'main' menu
00087 //
00088 //----------------------------------------------------
00089 RESOURCE MENU_PANE r_tzlocalizer_menu
00090     {
00091     items=
00092         {
00093         MENU_ITEM { command=ETZLocalizerCmdSearchCities; txt="Search City";  },
00094         MENU_ITEM { command=ETZLocalizerCmdSearchCitiesInGroup; txt="Search cities in group";  },
00095         MENU_ITEM { command=ETZLocalizerCmdAddCity; txt="Add City"; },
00096         MENU_ITEM { command=ETZLocalizerCmdRemoveCity;txt="Remove City"; },
00097         MENU_ITEM { command=EAknCmdExit; txt="Exit"; }
00098         };
00099     }
00100 
00101 //----------------------------------------------------
00102 //   
00103 //    r_dataquery_data_query
00104 //    dialog which asks text input from user
00105 //
00106 //----------------------------------------------------
00107 RESOURCE DIALOG r_dataquery_data_query
00108     {
00109     flags = EGeneralQueryFlags;
00110     buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
00111 
00112     items = 
00113         {
00114         DLG_LINE
00115             {
00116             type = EAknCtQuery;
00117             id = EDataQueryDlgCIdDataQuery;
00118             control = AVKON_DATA_QUERY
00119                 {
00120                 layout = EDataLayout;
00121                 control = 
00122                     EDWIN
00123                         {
00124                         width = KMaxNameLength;
00125                         lines = 1;
00126                         maxlength = KMaxNameLength;
00127                         };
00128                 };
00129             }
00130         };
00131     }
00132 
00133 //----------------------------------------------------
00134 //   
00135 //    r_tzlocalizer_dialog
00136 //    main dialog which is showing all the time.
00137 //
00138 //----------------------------------------------------
00139 RESOURCE DIALOG r_tzlocalizer_dialog
00140     {
00141     flags=EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | EEikDialogFlagFillAppClientRect | 
00142           EEikDialogFlagCbaButtons | EEikDialogFlagModeless | EEikDialogFlagNoBorder;
00143     
00144     buttons=R_AVKON_SOFTKEYS_OPTIONS_EXIT;
00145     items=
00146         {
00147         DLG_LINE
00148             {
00149             id = ETZLocalizerDlgList;
00150             type = EAknCtDoubleListBox;
00151             control = LISTBOX 
00152                 { 
00153                 flags = EAknListBoxSelectionList;
00154                 };
00155             }
00156         };
00157     }
00158 
00159 // ---------------------------------------------------------------------------- 
00160 //
00161 // r_localisable_app_info
00162 //
00163 // ---------------------------------------------------------------------------- 
00164 //    
00165 RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
00166     {
00167     short_caption = "TZLocalizer";
00168     caption_and_icon = 
00169     CAPTION_AND_ICON_INFO
00170         {
00171         caption = "TZLocalizer";
00172         
00173         number_of_icons = 1;
00174         icon_file = "\\resource\\apps\\TZLocalizer.mif";
00175       };
00176     } 
00177     
00178 // End of File
00179 

Generated by  doxygen 1.6.2