📄 sound.rss
字号:
/* Copyright (c) 2004, Nokia. All rights reserved. */
NAME SOUN
// INCLUDES
#include <eikon.rh>
#include <avkon.rh>
#include <avkon.rsg>
#include "Sound.hrh"
#include "Sound.loc"
// ----------------------------------------------------------------------------
//
// Define the resource file signature
// This resource should be empty.
//
// ----------------------------------------------------------------------------
//
RESOURCE RSS_SIGNATURE
{
}
// ----------------------------------------------------------------------------
//
// Default Document Name
//
// ----------------------------------------------------------------------------
//
RESOURCE TBUF
{
buf="";
}
// ----------------------------------------------------------------------------
//
// Define default menu and CBA key.
//
// ----------------------------------------------------------------------------
//
RESOURCE EIK_APP_INFO
{
menubar=r_sound_menubar;
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
// ----------------------------------------------------------------------------
//
// r_sound_menubar
// Menubar for Sound example
//
// ----------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_sound_menubar
{
titles=
{
MENU_TITLE { menu_pane = r_sound_menu; }
};
}
// ----------------------------------------------------------------------------
//
// r_sound_menu
// Menu for "Options"
//
// ----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_sound_menu
{
items=
{
MENU_ITEM
{
command = ESoundCmdPlay;
txt = qtn_soun_options_play;
},
MENU_ITEM
{
command = ESoundCmdRecord;
txt = qtn_soun_options_record;
},
MENU_ITEM
{
flags = EEikMenuItemSeparatorAfter;
command = ESoundCmdStop;
txt = qtn_soun_options_stop;
},
MENU_ITEM
{
command = ESoundCmdChange;
cascade = r_sound_utility_menu;
txt = qtn_soun_options_utility;
} ,
MENU_ITEM
{
command = EAknSoftkeyExit;
txt = qtn_soun_options_exit;
}
};
}
// ----------------------------------------------------------------------------
//
// r_sound_utility_menu
// Small cascaded menu to chose sound player type
//
// ----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_sound_utility_menu
{
items=
{
MENU_ITEM
{
command = ESoundCmdTone;
txt = qtn_soun_tone_utility;
},
MENU_ITEM
{
command = ESoundCmdPlayer;
txt = qtn_soun_player_utility;
},
MENU_ITEM
{
command = EESoundCmdRecorder;
txt = qtn_soun_recorder_utility;
}
};
}
// -----------------------------------------------------------------------------
//
// Resources for messages.
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_soun_mode_player { buf=qtn_soun_mode_player; }
RESOURCE TBUF r_soun_mode_recorder { buf=qtn_soun_mode_recorder; }
RESOURCE TBUF r_soun_mode_toner { buf=qtn_soun_mode_toner; }
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -