examples/ForumNokia/ContactsModel/data/ContactsModel.rss

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

Generated by  doxygen 1.6.2