examples/ForumNokia/AudioStreamExample/data/AudioStream.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 "audiostream.hrh"
00012 #include "audiostream.loc"
00013 #include "AudioStream_loc.rls"
00014 #include <avkon.rsg>
00015 #include <avkon.rh>
00016 #include <avkon.mbg>
00017 #include <appinfo.rh>
00018 
00019 //  RESOURCE DEFINITIONS 
00020 
00021 RESOURCE RSS_SIGNATURE { }
00022 
00023 RESOURCE TBUF { buf = "AudioStream"; }
00024 
00025 RESOURCE EIK_APP_INFO
00026     {
00027     hotkeys = r_audiostream_hotkeys;
00028     menubar = r_audiostream_menubar;
00029     cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;     
00030     }
00031 
00032 //----------------------------------------------------
00033 //   
00034 //    r_audiostream_hotkeys
00035 //
00036 //----------------------------------------------------
00037 //
00038 RESOURCE HOTKEYS r_audiostream_hotkeys
00039     {
00040     control =
00041         {
00042         HOTKEY { command = EAknCmdExit; key='e'; }
00043         };
00044     }
00045 
00046 //----------------------------------------------------
00047 //   
00048 //    r_audiostream_menubar
00049 //
00050 //----------------------------------------------------
00051 //
00052 RESOURCE MENU_BAR r_audiostream_menubar
00053     {
00054     titles =
00055         {
00056         MENU_TITLE { menu_pane = r_audiostream_menu; txt = "Cmds"; }
00057         };
00058     }
00059 
00060 //----------------------------------------------------
00061 //   
00062 //    r_audiostream_menu
00063 //
00064 //----------------------------------------------------
00065 //
00066 RESOURCE MENU_PANE r_audiostream_menu
00067     {
00068     items =
00069         {
00070         MENU_ITEM { command = EAudioStreamCmdPlay; txt = qtn_appl_play; },
00071         MENU_ITEM { command = EAudioStreamCmdRecord; txt = qtn_appl_record; },
00072         MENU_ITEM { command = EAudioStreamCmdStop; txt = qtn_appl_stop; },
00073         MENU_ITEM { command = EAudioStreamCmdLoad; txt = qtn_appl_load; },
00074         MENU_ITEM { command = EAudioStreamCmdSave; txt = qtn_appl_save; },
00075         MENU_ITEM { command = EAudioStreamCmdSelectEncoding; 
00076         cascade = r_audiostream_encoding_menu; txt = qtn_appl_select_encoding; }, 
00077         MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; }
00078         };
00079     }
00080 
00081 //----------------------------------------------------
00082 //   
00083 //    r_audiostream_encoding_menu
00084 //
00085 //----------------------------------------------------
00086 //
00087 RESOURCE MENU_PANE r_audiostream_encoding_menu
00088     {
00089     items =
00090         {
00091         MENU_ITEM { command = EAudioStreamCmdPcm; txt = qtn_appl_pcm; },
00092         MENU_ITEM { command = EAudioStreamCmdAmr; txt = qtn_appl_amr; }
00093         };
00094     }
00095 
00096 
00097 RESOURCE LOCALISABLE_APP_INFO r_audiostream_localisable_app_info
00098     {
00099     short_caption = STRING_short_caption;
00100     caption_and_icon =
00101     CAPTION_AND_ICON_INFO
00102         {
00103         caption = "AudioStream";
00104 
00105         number_of_icons = 1;
00106         icon_file = "\\resource\\apps\\AudioStreamExample.mif";
00107         };
00108     }
00109 
00110 
00111 // End of File

Generated by  doxygen 1.6.2