examples/ForumNokia/CameraExample/data/CameraWrapperExample.rss

00001 /*
00002  * Copyright (c) 2009 Nokia Corporation.
00003  */
00004 
00005 
00006 //  RESOURCE IDENTIFIER
00007 NAME CAME       // 4 letter ID
00008 
00009 
00010 //  INCLUDES
00011 #include <eikon.rh>
00012 #include <avkon.rsg>
00013 #include <avkon.rh>
00014 #include <appinfo.rh>
00015 #include "CameraWrapperExample.hrh"
00016 #include "CameraWrapperExample.rls"
00017 
00018 //  RESOURCE DEFINITIONS
00019 // -----------------------------------------------------------------------------
00020 //
00021 //      Define the resource file signature
00022 //      This resource should be empty.
00023 //
00024 // -----------------------------------------------------------------------------
00025 //
00026 RESOURCE RSS_SIGNATURE
00027         {
00028         }
00029 
00030 // -----------------------------------------------------------------------------
00031 //
00032 //      Default Document Name
00033 //
00034 // -----------------------------------------------------------------------------
00035 //
00036 RESOURCE TBUF r_default_document_name
00037         {
00038         buf="CAME";
00039         }
00040 
00041 // -----------------------------------------------------------------------------
00042 //
00043 //      Define default menu and CBA key.
00044 //
00045 // -----------------------------------------------------------------------------
00046 //
00047 RESOURCE EIK_APP_INFO
00048         {
00049         menubar = r_menubar;
00050         cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
00051         }
00052 
00053 
00054 // -----------------------------------------------------------------------------
00055 //
00056 //   r_menubar
00057 //   Main menubar
00058 //
00059 // -----------------------------------------------------------------------------
00060 //
00061 RESOURCE MENU_BAR r_menubar
00062         {
00063         titles =
00064                 {
00065                 MENU_TITLE { menu_pane = r_menu; }
00066                 };
00067         }
00068 
00069 
00070 // -----------------------------------------------------------------------------
00071 //
00072 //   r_menu
00073 //   Menu for "Options"
00074 //
00075 // -----------------------------------------------------------------------------
00076 //
00077 RESOURCE MENU_PANE r_menu
00078         {
00079         items =
00080                 {
00081                 MENU_ITEM
00082                                 {
00083                                 command = EAbout;
00084                                 txt = qtn_about;
00085                                 },
00086                 MENU_ITEM
00087                                 {
00088                                 command = EAknSoftkeyExit;
00089                                 txt = qtn_exit;
00090                                 }
00091                 };
00092         }
00093 
00094 // -----------------------------------------------------------------------------
00095 //
00096 // About dialog resource.
00097 //
00098 // -----------------------------------------------------------------------------
00099 //
00100 RESOURCE DIALOG r_about_query_dialog
00101         {
00102         flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
00103         buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
00104         items=
00105                 {
00106                 DLG_LINE 
00107                         {
00108                         type = EAknCtPopupHeadingPane;
00109                         id = EAknMessageQueryHeaderId;
00110                         itemflags = EEikDlgItemNonFocusing;
00111                         control = AVKON_HEADING
00112                                 {
00113                                 };
00114                         },
00115                 DLG_LINE
00116                         {
00117                         type = EAknCtMessageQuery;
00118                         id = EAknMessageQueryContentId;
00119                         control = AVKON_MESSAGE_QUERY
00120                                 {
00121                                 };
00122                         }
00123                 };
00124         }
00125 
00126 
00127 // -----------------------------------------------------------------------------
00128 //
00129 // Resources for messages.
00130 //
00131 // -----------------------------------------------------------------------------
00132 //
00133 RESOURCE TBUF32 r_caption_string { buf=qtn_caption_string; }
00134 RESOURCE TBUF32 r_about_dialog_title { buf=qtn_about_dialog_title; }
00135 RESOURCE TBUF r_about_dialog_text { buf=qtn_about_dialog_text; }
00136 RESOURCE TBUF r_command1_text { buf=qtn_command1_text; }
00137 
00138 
00139 // ---------------------------------------------------------------------------- 
00140 //
00141 // r_localisable_app_info
00142 //
00143 // ---------------------------------------------------------------------------- 
00144 //
00145 RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
00146         {
00147         short_caption = qtn_caption_string;
00148         caption_and_icon = 
00149         CAPTION_AND_ICON_INFO
00150                 {
00151                 caption = qtn_caption_string;
00152 
00153                 number_of_icons = 1;
00154                 icon_file = "\\resource\\apps\\CameraExample_0xEF24C10A.mif";
00155                 };
00156         }
00157 
00158 // End of File

Generated by  doxygen 1.6.2