00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #include <eikon.rh>
00018 #include <AppInfo.rh>
00019 #include <qikon.rh>
00020 #include <QikCommand.rh>
00021
00022 #include "AudioPlaying.hrh"
00023 #include "AudioPlaying.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_audioplaying_localisable_app_info
00034 {
00035 short_caption = string_r_audioplaying_caption;
00036 caption_and_icon =
00037 CAPTION_AND_ICON_INFO
00038 {
00039 caption = string_r_audioplaying_caption;
00040 number_of_icons = 3;
00041 icon_file = "\\resource\\apps\\AudioPlaying.mbm";
00042 };
00043 }
00044
00045 RESOURCE QIK_VIEW_CONFIGURATIONS r_audioplaying_ui_configurations
00046 {
00047 configurations =
00048 {
00049 QIK_VIEW_CONFIGURATION
00050 {
00051 ui_config_mode = KQikPenStyleTouchPortrait;
00052 command_list = r_audioplaying_commands;
00053 view = r_audioplaying_layout;
00054 },
00055 QIK_VIEW_CONFIGURATION
00056 {
00057 ui_config_mode = KQikPenStyleTouchLandscape;
00058 command_list = r_audioplaying_commands;
00059 view = r_audioplaying_layout;
00060 },
00061 QIK_VIEW_CONFIGURATION
00062 {
00063 ui_config_mode = KQikSoftkeyStyleTouchPortrait;
00064 command_list = r_audioplaying_commands;
00065 view = r_audioplaying_layout;
00066 },
00067 QIK_VIEW_CONFIGURATION
00068 {
00069 ui_config_mode = KQikSoftkeyStylePortrait;
00070 command_list = r_audioplaying_commands;
00071 view = r_audioplaying_layout;
00072 },
00073 QIK_VIEW_CONFIGURATION
00074 {
00075 ui_config_mode = KQikSoftkeyStyleSmallPortrait;
00076 command_list = r_audioplaying_commands;
00077 view = r_audioplaying_layout;
00078 }
00079 };
00080 }
00081
00082 RESOURCE QIK_COMMAND_LIST r_audioplaying_commands
00083 {
00084 items =
00085 {
00086 QIK_COMMAND
00087 {
00088 id = EEikCmdExit;
00089 type = EQikCommandTypeScreen;
00090 stateFlags = EQikCmdFlagDebugOnly;
00091 text = string_r_audioplaying_close_debug;
00092 },
00093 QIK_COMMAND
00094 {
00095 id = EAudioPlayingPlayFromFile;
00096 type = EQikCommandTypeScreen;
00097 text = string_r_audioplaying_playformfile;
00098 },
00099 QIK_COMMAND
00100 {
00101 id = EAudioPlayingPause;
00102 type = EQikCommandTypeScreen;
00103 text = string_r_audioplaying_pause;
00104 },
00105 QIK_COMMAND
00106 {
00107 id = EAudioPlayingResume;
00108 type = EQikCommandTypeScreen;
00109 text = string_r_audioplaying_resume;
00110 },
00111 QIK_COMMAND
00112 {
00113 id = EAudioPlayingStop;
00114 type = EQikCommandTypeScreen;
00115 text = string_r_audioplaying_stop;
00116 },
00117 QIK_COMMAND
00118 {
00119 id = EAudioPlayingRewind;
00120 type = EQikCommandTypeScreen;
00121 text = string_r_audioplaying_rewind;
00122 },
00123 QIK_COMMAND
00124 {
00125 id = EAudioPlayingFastForward;
00126 type = EQikCommandTypeScreen;
00127 text = string_r_audioplaying_fastforward;
00128 }
00129 };
00130 }
00131 RESOURCE QIK_VIEW r_audioplaying_layout
00132 {
00133 pages = r_audioplaying_layout_pages;
00134 }
00135
00136 RESOURCE QIK_VIEW_PAGES r_audioplaying_layout_pages
00137 {
00138 pages =
00139 {
00140 QIK_VIEW_PAGE
00141 {
00142 page_id = EAudioPlayingMainViewPage;
00143 page_content = r_audioplaying_page_control;
00144 }
00145 };
00146 }
00147
00148 RESOURCE QIK_CONTAINER_SETTINGS r_audioplaying_page_control
00149 {
00150 layout_manager_type = EQikGridLayoutManager;
00151 layout_manager = r_audioplaying_grid_layout_manager;
00152 controls =
00153 {
00154 QIK_CONTAINER_ITEM_CI_LI
00155 {
00156 unique_handle = EAudioPlayingLabelCtrl;
00157 type = EEikCtLabel;
00158 control = r_audioplaying_label;
00159 }
00160 };
00161 }
00162
00163
00164 RESOURCE LABEL r_audioplaying_label
00165 {
00166 horiz_align = EEikLabelAlignHLeft;
00167 standard_font = EEikLabelFontLegend;
00168 txt = string_r_audioplaying_text;
00169 }
00170
00171 RESOURCE QIK_GRID_LAYOUT_MANAGER r_audioplaying_grid_layout_manager
00172 {
00173 columns = 1;
00174 rows = 1;
00175 default_layout_data = QIK_GRID_LAYOUT_DATA
00176 {
00177 horizontal_alignment = EQikLayoutHAlignInherit;
00178 vertical_alignment = EQikLayoutVAlignInherit;
00179 };
00180 }
00181
00182 #include "AudioPlaying_string.rss"
00183
00184