examples/SFExamples/Wikipedia/data/SqlSrvDemo.rss

00001 // 
00002 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
00003 // All rights reserved.
00004 // This component and the accompanying materials are made available
00005 // under the terms of the License "Eclipse Public License v1.0"
00006 // which accompanies this distribution, and is available
00007 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00008 // 
00009 // Initial Contributors:
00010 // Nokia Corporation - initial contribution.
00011 // 
00012 // Contributors:
00013 // 
00014 // Description:
00015 // 
00016 
00017 
00018 
00019 NAME SQLS
00020 
00021 //  INCLUDES
00022 #include <eikon.rh>
00023 #include <avkon.rh>
00024 #include <avkon.rsg>
00025 #include <appinfo.rh>
00026 
00027 #include "SqlSrvDemo.hrh"
00028 #include "SqlSrvDemo.rls"
00029 
00030 
00031 // -----------------------------------------------------------------------------
00032 //
00033 //    Define the resource file signature
00034 //    This resource should be empty.
00035 //
00036 // -----------------------------------------------------------------------------
00037 //
00038 RESOURCE RSS_SIGNATURE
00039     {
00040     }
00041 
00042 // -----------------------------------------------------------------------------
00043 //
00044 //    Default Document Name
00045 //
00046 // -----------------------------------------------------------------------------
00047 //
00048 RESOURCE TBUF r_sqlsrvdemo_default_docname
00049     {
00050     buf="SQLS";
00051     }
00052 
00053 // -----------------------------------------------------------------------------
00054 //
00055 //    Define default menu and CBA key.
00056 //
00057 // -----------------------------------------------------------------------------
00058 //
00059 RESOURCE EIK_APP_INFO
00060     {
00061     }
00062 
00063 // ----------------------------------------------------------------------------
00064 //
00065 // r_sqlsrvdemo_localisable_app_info
00066 //
00067 // ----------------------------------------------------------------------------
00068 //
00069 RESOURCE LOCALISABLE_APP_INFO r_sqlsrvdemo_localisable_app_info
00070     {
00071     short_caption = STRING_r_sqlsrvdemo_short_caption_string;
00072     caption_and_icon =
00073     CAPTION_AND_ICON_INFO
00074         {
00075         caption = STRING_r_sqlsrvdemo_caption_string;
00076 
00077         number_of_icons = 2;
00078                   icon_file = "\\resource\\apps\\sqlsrvdemo.mif";
00079               };
00080     }
00081 
00082 // -----------------------------------------------------------------------------
00083 //
00084 //    r_search_view
00085 //    Define view 1
00086 //
00087 // -----------------------------------------------------------------------------
00088 //
00089 RESOURCE AVKON_VIEW r_search_view
00090     {
00091     menubar = r_sqlsrvdemo_search_menubar;
00092     cba = r_search_view_softkeys;
00093     }
00094 
00095 // -----------------------------------------------------------------------------
00096 //
00097 //   r_sqlsrvdemo_search_menubar
00098 //   Menu title definition
00099 //
00100 // -----------------------------------------------------------------------------
00101 //
00102 RESOURCE MENU_BAR r_sqlsrvdemo_search_menubar
00103     {
00104         titles =
00105         {
00106             MENU_TITLE
00107             {
00108                 menu_pane = r_sqlsrvdemo_search_menu;
00109             }
00110         };
00111     }
00112 
00113 // -----------------------------------------------------------------------------
00114 //
00115 //   r_sqlsrvdemo_search_menu
00116 //   Menu for "Options"
00117 //
00118 // -----------------------------------------------------------------------------
00119 //
00120 RESOURCE MENU_PANE r_sqlsrvdemo_search_menu
00121     {
00122         items =
00123         {
00124                 MENU_ITEM
00125                 {
00126                     command = ESqlSrvDemoCmdOpenArticle;
00127                     txt = STRING_r_sqlsrvdemo_open_article;
00128                 },
00129                 MENU_ITEM
00130                 {
00131                     command = ESqlSrvDemoCmdAbout;
00132                     txt = STRING_r_sqlsrvdemo_about;
00133                 },              
00134             MENU_ITEM
00135             {
00136                 command = EAknSoftkeyExit;
00137                 txt = STRING_r_sqlsrvdemo_exit;
00138             }
00139         };
00140     }
00141 
00142 //----------------------------------------------------
00143 //
00144 //    r_search_view_softkeys
00145 //    CBA buttons for search view
00146 //
00147 //----------------------------------------------------
00148 //
00149 RESOURCE CBA r_search_view_softkeys
00150     {
00151     buttons =
00152                 {
00153                 CBA_BUTTON {id=EAknSoftkeyOptions; txt=STRING_r_sqlsrvdemo_options;},
00154                 CBA_BUTTON {id=EAknSoftkeyEmpty; txt="";}               
00155         };
00156     }
00157 
00158 // -----------------------------------------------------------------------------
00159 //
00160 //    r_browser_view
00161 //    Define view 2
00162 //
00163 // -----------------------------------------------------------------------------
00164 //
00165 RESOURCE AVKON_VIEW r_browser_view
00166     {
00167     cba = R_AVKON_SOFTKEYS_BACK;
00168     }
00169 
00170 RESOURCE DIALOG r_confirm_query
00171     {
00172     flags = EGeneralQueryFlags;
00173     buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
00174     items =
00175         {
00176         DLG_LINE
00177             {
00178             type = EAknCtQuery;
00179             id = EGeneralQuery;
00180                         control= AVERELL_CONFIRMATION_QUERY
00181                                 {
00182                                         layout = EConfirmationLayout;
00183                                         label = "";
00184                                 };
00185                         }
00186         };
00187     }
00188 
00189 // End of File

Generated by  doxygen 1.6.2