examples/ForumNokia/ContactsModel/data/ContactsModel.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 
00030 //  RESOURCE IDENTIFIER
00031 NAME    AWIZ // 4 letter ID
00032 
00033 //  INCLUDES
00034 
00035 #include <eikon.rh>
00036 #include "contactsmodel.hrh"
00037 #include "contactsmodel.loc"
00038 #include <avkon.rsg>
00039 #include <avkon.rh>
00040 #include <avkon.mbg>
00041 
00042 
00043 #include <CommonDialogs.hrh>
00044 #include <CommonDialogs.rh>
00045 
00046 
00047 //  RESOURCE DEFINITIONS 
00048 
00049 RESOURCE RSS_SIGNATURE { }
00050 
00051 RESOURCE TBUF { buf = "ContactsModel"; }
00052 
00053 RESOURCE EIK_APP_INFO
00054     {
00055     hotkeys = r_contactsmodel_hotkeys;
00056     menubar = r_contactsmodel_menubar;
00057     cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
00058     }
00059 
00060 //----------------------------------------------------
00061 //   
00062 //    r_contactsmodel_hotkeys
00063 //
00064 //----------------------------------------------------
00065 //
00066 RESOURCE HOTKEYS r_contactsmodel_hotkeys
00067     {
00068     control =
00069         {
00070         HOTKEY { command = EAknCmdExit; key='e'; }
00071         };
00072     }
00073 
00074 //----------------------------------------------------
00075 //   
00076 //    r_contactsmodel_menubar
00077 //
00078 //----------------------------------------------------
00079 //
00080 RESOURCE MENU_BAR r_contactsmodel_menubar
00081     {
00082     titles =
00083         {
00084         MENU_TITLE { menu_pane = r_contactsmodel_menu; txt = "File"; }
00085         };
00086     }
00087 
00088 //----------------------------------------------------
00089 //   
00090 //    r_contactsmodel_menu
00091 //
00092 //----------------------------------------------------
00093 //
00094 RESOURCE MENU_PANE r_contactsmodel_menu
00095     {
00096     items =
00097         {
00098         MENU_ITEM { command = EContactsModelCmdAppImport; txt = qtn_appl_import; },
00099         MENU_ITEM { command = EContactsModelCmdAppExport; txt = qtn_appl_export; },
00100         MENU_ITEM { command = EAknCmdExit; txt = qtn_appl_exit; }
00101         };
00102     }
00103 //----------------------------------------------------
00104 //   
00105 //    r_file_selection_dialog for import
00106 //
00107 //----------------------------------------------------
00108 //
00109 RESOURCE FILESELECTIONDIALOG r_file_selection_dialog
00110     {
00111     title = "Select-a-file:";
00112     root_path = "C:\\";
00113     filters = 
00114         {
00115         FILTER
00116            {
00117            filter_type = EAttributeFilter;
00118            filter_style = EExclusiveFilter;
00119            filter_data = { "SH", "R" }; // Excludes system, hidden and read-only attributes
00120            }
00121         };
00122      }
00123 
00124 RESOURCE MEMORYSELECTIONDIALOG r_memory_selection_dialog 
00125 {   
00126     title = "Choose memory:";
00127     softkey_1 = "Accept";
00128     softkey_2 = "Cancel";
00129     locations =
00130        {
00131        LOCATION { root_path = "C:\\"; }, 
00132        LOCATION { root_path = "E:\\";  }
00133        }; 
00134 }
00135 
00136 // ---------------------------------------------------------------------------- 
00137 //
00138 // r_localisable_app_info
00139 //
00140 // ---------------------------------------------------------------------------- 
00141 //
00142 
00143 #include <appinfo.rh>
00144 
00145 RESOURCE LOCALISABLE_APP_INFO r_contactsmodel_localisable_app_info
00146     {
00147     short_caption = "ContactsModel";
00148     caption_and_icon = 
00149     CAPTION_AND_ICON_INFO
00150         {
00151         caption = "Contacts Model";
00152         
00153         number_of_icons = 1;
00154         icon_file = "\\resource\\apps\\ContactsModel.mif";
00155       };
00156     }
00157     
00158 // End of File

Generated by  doxygen 1.6.2