examples/sfexamples/AudioTone/data/uiq3/AudioTone.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 #include <eikon.rh>
00018 #include <AppInfo.rh>
00019 #include <qikon.rh>
00020 #include <QikCommand.rh>
00021 
00022 #include "AudioTone.hrh"
00023 #include "AudioTone.rls"
00024 
00025 NAME HLWD
00026 
00027 RESOURCE RSS_SIGNATURE { }
00028 
00029 RESOURCE TBUF { buf = ""; }
00030 
00031 RESOURCE EIK_APP_INFO { }
00032 
00033 RESOURCE LOCALISABLE_APP_INFO r_audiotone_localisable_app_info
00034         {
00035         short_caption = string_r_audiotone_caption;
00036         caption_and_icon =
00037         CAPTION_AND_ICON_INFO
00038                 {
00039                 caption = string_r_audiotone_caption;
00040                 number_of_icons = 3;
00041                 icon_file = "\\resource\\apps\\AudioTone.mbm";
00042                 };
00043         }
00044 
00045 RESOURCE QIK_VIEW_CONFIGURATIONS r_audiotone_ui_configurations
00046         {
00047         configurations = 
00048                 {
00049                 QIK_VIEW_CONFIGURATION
00050                         {
00051                         ui_config_mode = KQikPenStyleTouchPortrait;
00052                         command_list = r_audiotone_commands;
00053                         view = r_audiotone_layout;
00054                         },
00055                 QIK_VIEW_CONFIGURATION
00056                         {
00057                         ui_config_mode = KQikPenStyleTouchLandscape;
00058                         command_list = r_audiotone_commands;
00059                         view = r_audiotone_layout;
00060                         },
00061                 QIK_VIEW_CONFIGURATION
00062                         {
00063                         ui_config_mode = KQikSoftkeyStyleTouchPortrait;
00064                         command_list = r_audiotone_commands;
00065                         view = r_audiotone_layout;
00066                         },
00067                 QIK_VIEW_CONFIGURATION
00068                         {
00069                         ui_config_mode = KQikSoftkeyStylePortrait;
00070                         command_list = r_audiotone_commands;
00071                         view = r_audiotone_layout;
00072                         },
00073                 QIK_VIEW_CONFIGURATION
00074                         {
00075                         ui_config_mode = KQikSoftkeyStyleSmallPortrait;
00076                         command_list = r_audiotone_commands;
00077                         view = r_audiotone_layout;
00078                         }
00079                 };
00080         }
00081 
00082 RESOURCE QIK_COMMAND_LIST r_audiotone_commands
00083         {
00084         items =
00085                 {
00086                 QIK_COMMAND
00087                         {
00088                         id = EEikCmdExit;
00089                         type = EQikCommandTypeScreen;
00090                         stateFlags = EQikCmdFlagDebugOnly;
00091                         text = string_r_audiotone_close_debug;
00092                         },
00093                 QIK_COMMAND
00094                         {
00095                         id = EAudioTonePlayTone;
00096                         type = EQikCommandTypeScreen;
00097                         text = string_r_audiotone_playtone;
00098                         },
00099                 QIK_COMMAND
00100                         {
00101                         id = EAudioTonePlayDualTone;
00102                         type = EQikCommandTypeScreen;
00103                         text = string_r_audiotone_playdualtone;
00104                         },
00105                 QIK_COMMAND
00106                         {
00107                         id = EAudioToneStopTone;
00108                         type = EQikCommandTypeScreen;
00109                         text = string_r_audiotone_stoptone;
00110                         }
00111                 };
00112         }
00113 RESOURCE QIK_VIEW r_audiotone_layout
00114         {
00115         pages = r_audiotone_layout_pages;
00116         }
00117 
00118 RESOURCE QIK_VIEW_PAGES r_audiotone_layout_pages
00119         {
00120         pages = 
00121                 {
00122                 QIK_VIEW_PAGE
00123                         {
00124                         page_id = EAudioToneMainViewPage;
00125                         page_content = r_audiotone_page_control;
00126                         }
00127                 };
00128         }
00129 
00130 RESOURCE QIK_CONTAINER_SETTINGS r_audiotone_page_control
00131         {
00132         layout_manager_type = EQikGridLayoutManager;
00133         layout_manager = r_audiotone_grid_layout_manager;
00134         controls =
00135                 {
00136                 QIK_CONTAINER_ITEM_CI_LI
00137                         {
00138                         unique_handle = EAudioToneLabelCtrl;
00139                         type = EEikCtLabel;
00140                         control = r_audiotone_label;
00141                         }
00142                 };
00143         }
00144         
00145 // Defines the label and specifies the labels font and text.
00146 RESOURCE LABEL r_audiotone_label
00147         {
00148         horiz_align = EEikLabelAlignHLeft;
00149         standard_font = EEikLabelFontLegend;
00150         txt = string_r_audiotone_text;
00151         }
00152 
00153 RESOURCE QIK_GRID_LAYOUT_MANAGER r_audiotone_grid_layout_manager
00154         {
00155         columns = 1;
00156         rows = 1;
00157         default_layout_data = QIK_GRID_LAYOUT_DATA
00158                 {
00159                 horizontal_alignment = EQikLayoutHAlignInherit;
00160                 vertical_alignment = EQikLayoutVAlignInherit;
00161                 };
00162         }
00163         
00164 #include "AudioTone_string.rss"
00165 
00166 // End of File

Generated by  doxygen 1.6.2