examples/ForumNokia/AudioStreamExample/data/AudioStream.rss

00001 /*
00002  * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
00003  *    
00004  * Redistribution and use in source and binary forms, with or without
00005  * modification, are permitted provided that the following conditions are met:
00006  *    
00007  *  * Redistributions of source code must retain the above copyright notice, this
00008  *    list of conditions and the following disclaimer.
00009  *  * Redistributions in binary form must reproduce the above copyright notice,
00010  *    this list of conditions and the following disclaimer in the documentation
00011  *    and/or other materials provided with the distribution.
00012  *  * Neither the name of Nokia Corporation nor the names of its contributors
00013  *    may be used to endorse or promote products derived from this software
00014  *    without specific prior written permission.
00015  *    
00016  *    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00017  *    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00018  *    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00019  *    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
00020  *    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00021  *    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
00022  *    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00023  *    CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00024  *    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
00025  *    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00026  *    
00027  *    Description:  
00028  */
00029 
00030 //  RESOURCE IDENTIFIER
00031 NAME    AWIZ // 4 letter ID
00032 
00033 //  INCLUDES
00034 
00035 #include <eikon.rh>
00036 #include "audiostream.hrh"
00037 #include "audiostream.loc"
00038 #include "AudioStream_loc.rls"
00039 #include <avkon.rsg>
00040 #include <avkon.rh>
00041 #include <avkon.mbg>
00042 #include <appinfo.rh>
00043 
00044 //  RESOURCE DEFINITIONS 
00045 
00046 RESOURCE RSS_SIGNATURE { }
00047 
00048 RESOURCE TBUF { buf = "AudioStream"; }
00049 
00050 RESOURCE EIK_APP_INFO
00051     {
00052     hotkeys = r_audiostream_hotkeys;
00053     menubar = r_audiostream_menubar;
00054     cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;     
00055     }
00056 
00057 //----------------------------------------------------
00058 //   
00059 //    r_audiostream_hotkeys
00060 //
00061 //----------------------------------------------------
00062 //
00063 RESOURCE HOTKEYS r_audiostream_hotkeys
00064     {
00065     control =
00066         {
00067         HOTKEY { command = EAknCmdExit; key='e'; }
00068         };
00069     }
00070 
00071 //----------------------------------------------------
00072 //   
00073 //    r_audiostream_menubar
00074 //
00075 //----------------------------------------------------
00076 //
00077 RESOURCE MENU_BAR r_audiostream_menubar
00078     {
00079     titles =
00080         {
00081         MENU_TITLE { menu_pane = r_audiostream_menu; txt = "Cmds"; }
00082         };
00083     }
00084 
00085 //----------------------------------------------------
00086 //   
00087 //    r_audiostream_menu
00088 //
00089 //----------------------------------------------------
00090 //
00091 RESOURCE MENU_PANE r_audiostream_menu
00092     {
00093     items =
00094         {
00095         MENU_ITEM { command = EAudioStreamCmdPlay; txt = qtn_appl_play; },
00096         MENU_ITEM { command = EAudioStreamCmdRecord; txt = qtn_appl_record; },
00097         MENU_ITEM { command = EAudioStreamCmdStop; txt = qtn_appl_stop; },
00098         MENU_ITEM { command = EAudioStreamCmdLoad; txt = qtn_appl_load; },
00099         MENU_ITEM { command = EAudioStreamCmdSave; txt = qtn_appl_save; },
00100         MENU_ITEM { command = EAudioStreamCmdSelectEncoding; 
00101         cascade = r_audiostream_encoding_menu; txt = qtn_appl_select_encoding; }, 
00102         MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; }
00103         };
00104     }
00105 
00106 //----------------------------------------------------
00107 //   
00108 //    r_audiostream_encoding_menu
00109 //
00110 //----------------------------------------------------
00111 //
00112 RESOURCE MENU_PANE r_audiostream_encoding_menu
00113     {
00114     items =
00115         {
00116         MENU_ITEM { command = EAudioStreamCmdPcm; txt = qtn_appl_pcm; },
00117         MENU_ITEM { command = EAudioStreamCmdAmr; txt = qtn_appl_amr; }
00118         };
00119     }
00120 
00121 
00122 RESOURCE LOCALISABLE_APP_INFO r_audiostream_localisable_app_info
00123     {
00124     short_caption = STRING_short_caption;
00125     caption_and_icon =
00126     CAPTION_AND_ICON_INFO
00127         {
00128         caption = "AudioStream";
00129 
00130         number_of_icons = 1;
00131         icon_file = "\\resource\\apps\\AudioStreamExample.mif";
00132         };
00133     }
00134 
00135 
00136 // End of File

Generated by  doxygen 1.6.2