⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 s60internetradio.rss

📁 这是一个使用 ShortCast的IP网络流式播放的symbian的软件源码.里面有ShortCast短播协议的实现以及AAC音频,MP3音频流式播放的实现.
💻 RSS
字号:
/*
* ==============================================================================
*  Name        : S60InternetRadio.rss
*  Part of     : S60 Internet Radio Application
*  Description : Resource definition for S60 Internet Radio Application
*  Version     : 1
*
*  Copyright (c) 2006, Nokia Corporation All rights reserved. Redistribution
*  and use in source and binary forms, with or without modification, are
*  permitted provided that the following conditions are met: Redistributions
*  of source code must retain the above copyright notice, this list of
*  conditions and the following disclaimer. Redistributions in binary form
*  must reproduce the above copyright notice, this list of conditions and the
*  following disclaimer in the documentation and/or other materials provided
*  with the distribution. Neither the name of the Nokia Corporation nor the
*  names of its contributors may be used to endorse or promote products
*  derived from this software without specific prior written permission. THIS
*  SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
*  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
*  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
*  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
*  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
*  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
*  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
*  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
*  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
*  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
*  POSSIBILITY OF SUCH DAMAGE.
* ==============================================================================
*/
NAME SND

#include <eikon.rh>
#include <avkon.rh>
#include <avkon.rsg>
#include <avkon.mbg>
#ifdef EKA2
#include <appinfo.rh>
#endif
#include "S60InternetRadio.hrh"


// ---------------------------------------------------------
//   
//    Define the resource file signature 
//    This resource should be empty.
//
// ---------------------------------------------------------
//
RESOURCE RSS_SIGNATURE 
	{ 
	}

// ---------------------------------------------------------
//   
//    Default Document Name
//
// ---------------------------------------------------------
//
RESOURCE TBUF 
	{ 
	buf="S60InternetRadio"; 
	}


// ---------------------------------------------------------
//   
//    Define default menu and CBA key.
//
// ---------------------------------------------------------
//
RESOURCE EIK_APP_INFO
    {
    menubar=r_s60internetradio_menubar;
    cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
    }

#ifdef EKA2
//this part is used only in 3.x release
// ---------------------------------------------------------
//   
//    r_s60internetradio_localisable_app_info
//
// ---------------------------------------------------------
//
RESOURCE LOCALISABLE_APP_INFO r_s60internetradio_localisable_app_info
    {
    short_caption = "Internet Radio";
    caption_and_icon = 
    CAPTION_AND_ICON_INFO
        {
        caption = "S60 Internet Radio";
	number_of_icons = 1;
	icon_file = "Z:\\resource\\apps\\S60InternetRadio_aif.mif";    
        };
    }  
#endif

// ---------------------------------------------------------
//   
//   r_s60internetradio_menubar
//   Menubar for S60 Internet Radio
//
// ---------------------------------------------------------
//
RESOURCE MENU_BAR r_s60internetradio_menubar
    {
    titles=
        {
        MENU_TITLE 
			{ 
			menu_pane = r_s60internetradio_menu;
			}
        };
    }


// ---------------------------------------------------------
//   
//   r_s60internetradio_menu
//   Menu for "Options"
//
// ---------------------------------------------------------
//
RESOURCE MENU_PANE r_s60internetradio_menu
    {
    items=
        {
        MENU_ITEM 
			{ 
			command = ES60InternetRadioCmdPlay; 
			txt = "Play"; 
			},
        MENU_ITEM 
			{ 
			flags = EEikMenuItemSeparatorAfter; 
			command = ES60InternetRadioCmdStop; 
			txt = "Stop"; 
			},
        MENU_ITEM 
			{ 
			command = ES60InternetRadioCmdChange; 
			cascade = r_s60internetradio_utility_menu; 
			txt = "Change Mode";
			},
        MENU_ITEM
		    	{
		    	command = ES60InternetRadioCmdFileSelect;
		    	cascade = r_drive_select_menu;
		    	txt = "Open File";
		    	},
	MENU_ITEM 
			{ 
			command = ES60InternetRadioCmdExtra; 
			cascade = r_s60internetradio_extra_menu; 
			txt = "Extra stuff";
			},        
	MENU_ITEM 
			{ 
			command = EAknSoftkeyExit; 
			txt = "Exit"; 
			}
        };
    }
    
RESOURCE MENU_PANE r_s60internetradio_extra_menu
    {
    }
// ---------------------------------------------------------
//   
//   r_s60internetradio_utility_menu
//   Small cascaded menu to chose S60 Internet Radio
//
// ---------------------------------------------------------
//
RESOURCE MENU_PANE r_s60internetradio_utility_menu
    {
    items=
        {
        MENU_ITEM
            {
            command = ES60InternetRadioCmdPlayer;
            txt = "File Player";
            }
        };
    }
    
// ---------------------------------------------------------
//   
//   r_drive_select_menu
//   Small cascaded menu to chose drive for file selection
//
// ---------------------------------------------------------
//
RESOURCE MENU_PANE r_drive_select_menu
    {
    items=
        {
        MENU_ITEM
            {
            command = ES60InternetRadioCmdDriveC;
            txt = "Drive C";
            },
        MENU_ITEM
            {
            command = ES60InternetRadioCmdDriveE;
            txt = "Drive E";
            }
        };
    }
    
    
RESOURCE DIALOG r_wait_note
    {
    flags   = EAknWaitNoteFlags | EEikDialogFlagNotifyEsc;
    buttons = R_AVKON_SOFTKEYS_CANCEL;
    items =
        {
        DLG_LINE
            {
            type    = EAknCtNote;
            id      = 1717;
            control = AVKON_NOTE
                {
                layout         = EWaitLayout;
                singular_label = "Connecting ...";
                plural_label   = "";
                animation      = R_QGN_GRAF_WAIT_BAR_ANIM;
                };
            }
        };
    }
    
// End of File

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -