diff -r 000000000000 -r 72b543305e3a mobilemessaging/smilui/player/SmilPlayer.rss --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mobilemessaging/smilui/player/SmilPlayer.rss Thu Dec 17 08:44:11 2009 +0200 @@ -0,0 +1,477 @@ +/* +* Copyright (c) 2003-2005 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* This file contains all the resources for the module. +* +*/ + + + +// RESOURCE IDENTIFIER +NAME SMPL // 4 letter ID + +// INCLUDES + +#include +#include +#include +#include +#include +#include + +#include +#include + +#include +#include "SmilPlayer.hrh" + +// RESOURCE DEFINITIONS +RESOURCE RSS_SIGNATURE { } + +// ---------------------------------------------------------------------------- +// +// r_smilplayerdialog - Main dialog +// +// ---------------------------------------------------------------------------- +RESOURCE DIALOG r_smilplayer_dialog + { + flags = EEikDialogFlagNoDrag | + EEikDialogFlagNoTitleBar | + EEikDialogFlagFillAppClientRect | + EEikDialogFlagCbaButtons | + EEikDialogFlagWait | + EEikDialogFlagNotifyEsc; + buttons=R_AVKON_SOFTKEYS_EMPTY_WITH_IDS; + items= + { + DLG_LINE + { + type=EEikCtRichTextEditor; + control=RTXTED + { + width = 0; // These 0's are not really needed + height = 0; + numlines = 0; + }; + itemflags = EEikDlgItemAsLabel | + EEikEdwinAlwaysShowSelection | + EEikEdwinUserSuppliedText | + EEikRTedNoTextParsers; + } + }; + } + +// ---------------------------------------------------------------------------- +// +// r_smilplayer_menubar - Main Menubar +// +// ---------------------------------------------------------------------------- +RESOURCE MENU_BAR r_smilplayer_menubar + { + titles = + { + MENU_TITLE { menu_pane = r_smilplayer_menu_options; } + }; + } + +RESOURCE MENU_BAR r_smilplayer_select_menubar_in_playing_state + { + titles = + { + MENU_TITLE { menu_pane = r_smilplayer_select_menupane_in_playing_state; } + }; + } + +RESOURCE MENU_BAR r_smilplayer_select_menubar_in_pause_state + { + titles = + { + MENU_TITLE { menu_pane = r_smilplayer_select_menupane_in_pause_state; } + }; + } + +RESOURCE MENU_BAR r_smilplayer_select_menubar_in_stop_state + { + titles = + { + MENU_TITLE { menu_pane = r_smilplayer_select_menupane_in_stop_state; } + }; + } + +// ---------------------------------------------------------------------------- +// +// r_smilplayer_menu_options - Main Menubar items +// +// ---------------------------------------------------------------------------- +RESOURCE MENU_PANE r_smilplayer_menu_options + { + items= + { + MENU_ITEM { command = ESmilPlayerCmdOpenLink; + txt = qtn_smil_om_open_link ; }, + MENU_ITEM { command = ESmilPlayerCmdPlaySVG; + txt = qtn_smil_om_svgt_play ; }, + MENU_ITEM { command = ESmilPlayerCmdActivateScroll; + txt = qtn_smil_om_activate_scroll ; }, + MENU_ITEM { command = ESmilPlayerCmdDeactivateScroll; + txt = qtn_smil_om_deactivate_scroll ; }, + MENU_ITEM { command = ESmilPlayerCmdResume; + txt = qtn_mms_om_continue ; }, + MENU_ITEM { command = ESmilPlayerCmdReplay; + txt = qtn_mms_om_replay ; }, + MENU_ITEM { command = EAknCmdHelp; + txt = qtn_options_help; }, + MENU_ITEM { command = EAknCmdExit; + txt = qtn_options_exit; } + }; + } + +RESOURCE MENU_PANE r_smilplayer_select_menupane_in_playing_state + { + items= + { + MENU_ITEM { command = ESmilPlayerCmdOpenLink; + txt = qtn_smil_om_open_link ; }, + MENU_ITEM { command = ESmilPlayerCmdPlaySVG; + txt = qtn_smil_om_svgt_play ; }, + MENU_ITEM { command = ESmilPlayerCmdActivateScroll; + txt = qtn_smil_om_activate_scroll ; }, + MENU_ITEM { command = ESmilPlayerCmdDeactivateScroll; + txt = qtn_smil_om_deactivate_scroll ; }, + MENU_ITEM { command = ESmilPlayerCmdPause; + txt = qtn_mms_om_pause ; } + }; + } + +RESOURCE MENU_PANE r_smilplayer_select_menupane_in_stop_state + { + items= + { + MENU_ITEM { command = ESmilPlayerCmdOpenLink; + txt = qtn_smil_om_open_link ; }, + MENU_ITEM { command = ESmilPlayerCmdPlaySVG; + txt = qtn_smil_om_svgt_play ; }, + MENU_ITEM { command = ESmilPlayerCmdActivateScroll; + txt = qtn_smil_om_activate_scroll ; }, + MENU_ITEM { command = ESmilPlayerCmdDeactivateScroll; + txt = qtn_smil_om_deactivate_scroll ; }, + MENU_ITEM { command = ESmilPlayerCmdReplay; + txt = qtn_mms_om_replay; } + }; + } + +RESOURCE MENU_PANE r_smilplayer_select_menupane_in_pause_state + { + items= + { + MENU_ITEM { command = ESmilPlayerCmdOpenLink; + txt = qtn_smil_om_open_link ; }, + MENU_ITEM { command = ESmilPlayerCmdPlaySVG; + txt = qtn_smil_om_svgt_play ; }, + MENU_ITEM { command = ESmilPlayerCmdActivateScroll; + txt = qtn_smil_om_activate_scroll ; }, + MENU_ITEM { command = ESmilPlayerCmdDeactivateScroll; + txt = qtn_smil_om_deactivate_scroll ; }, + MENU_ITEM { command = ESmilPlayerCmdResume; + txt = qtn_mms_om_continue ; } + }; + } + +// ---------------------------------------------------------------------------- +// +// r_smilplayer_menu_options_at_normal_end - Menu at end +// +// ---------------------------------------------------------------------------- +RESOURCE MENU_PANE r_smilplayer_menu_options_at_normal_end + { + items= + { + MENU_ITEM { + command = ESmilPlayerCmdReplay; + txt = qtn_mms_om_replay; + }, + MENU_ITEM { + command = EAknCmdHelp; + txt = qtn_options_help; + }, + MENU_ITEM { + command = EAknCmdExit; + txt = qtn_options_exit; + } + }; + } + +// ---------------------------------------------------------------------------- +// +// r_smilplayer_softkeys_playing +// Invisible softkey when in playing state +// +// ---------------------------------------------------------------------------- +// +RESOURCE CBA r_smilplayer_softkeys_playing + { + flags = EAknCBAFlagRespondWhenInvisible; + buttons = + { + CBA_BUTTON { + id = ESmilPlayerCmdPause; + txt = text_softkey_empty; + }, + CBA_BUTTON { + id = ESmilPlayerCmdPause; + txt = text_softkey_empty; + }, + CBA_BUTTON { + id = EAknSoftkeyContextOptions; + txt = text_softkey_option; + } + }; + } + +// ---------------------------------------------------------------------------- +// +// r_smilplayer_softkeys_pause_in_normal +// Softkeys in pause state when playing the presentation +// +// ---------------------------------------------------------------------------- +// +RESOURCE CBA r_smilplayer_softkeys_pause_in_normal + { + buttons = + { + CBA_BUTTON { + id = EAknSoftkeyOptions; + txt = text_softkey_option; + }, + CBA_BUTTON { + id = EAknSoftkeyClose; + txt = text_softkey_back; + }, + CBA_BUTTON { + id = EAknSoftkeyContextOptions; + txt = text_softkey_option; + } + }; + } + +// ---------------------------------------------------------------------------- +// +// r_smilplayer_softkeys_pause_in_preview +// Softkeys in pause state when previewing the presentation +// +// ---------------------------------------------------------------------------- +// +RESOURCE CBA r_smilplayer_softkeys_pause_in_preview + { + buttons = + { + CBA_BUTTON { + id = ESmilPlayerCmdResume; + txt = qtn_mms_softkey_continue; + }, + CBA_BUTTON { + id = EAknSoftkeyBack; + txt = text_softkey_back; + }, + CBA_BUTTON { + id = EAknSoftkeyContextOptions; + txt = text_softkey_option; + } + }; + } + +// ---------------------------------------------------------------------------- +// +// r_smilplayer_softkeys_stop_in_normal +// Softkeys when presentation ends in normal play +// +// ---------------------------------------------------------------------------- +RESOURCE CBA r_smilplayer_softkeys_stop_in_normal + { + buttons = + { + CBA_BUTTON { + id = EAknSoftkeyOptions; + txt = text_softkey_option; + }, + CBA_BUTTON { + id = EAknSoftkeyClose; + txt = text_softkey_back; + }, + CBA_BUTTON { + id = EAknSoftkeyContextOptions; + txt = text_softkey_option; + } + }; + } + +// ---------------------------------------------------------------------------- +// +// r_smilplayer_softkeys_stop_in_preview +// Softkeys in stop state when previewing the presentation +// +// ---------------------------------------------------------------------------- +RESOURCE CBA r_smilplayer_softkeys_stop_in_preview + { + buttons = + { + CBA_BUTTON { + id = ESmilPlayerCmdReplay; + txt = text_softkey_resume; + }, + CBA_BUTTON { + id = EAknSoftkeyBack; + txt = text_softkey_back; + }, + CBA_BUTTON { + id = EAknSoftkeyContextOptions; + txt = text_softkey_option; + } + }; + } + +// ---------------------------------------------------------------------------- +// +// r_smilplayer_unsupported_presentation +// The string for unsupported/corrupted presentation info note +// +// ---------------------------------------------------------------------------- +RESOURCE TBUF r_smilplayer_unsupported_presentation + { + buf = qtn_mms_info_cannot_play; + } + +// ---------------------------------------------------------------------------- +// +// r_smilplayer_presentation_duration +// The string for the duration of the presentation +// +// ---------------------------------------------------------------------------- +RESOURCE TBUF r_smilplayer_presentation_duration + { + buf = qtn_smil_presentation_duration; + } + +// ---------------------------------------------------------------------------- +// +// r_smilplayer_confirm_open +// The string for the open page confirmation dialog +// +// ---------------------------------------------------------------------------- +RESOURCE TBUF r_smilplayer_confirm_open + { + buf = qtn_smil_quest_open; + } + +// ---------------------------------------------------------------------------- +// +// r_smilplayer_confirm_mailto +// The string for the mail to confirmation dialog +// +// ---------------------------------------------------------------------------- +RESOURCE TBUF r_smilplayer_confirm_mailto + { + buf = qtn_smil_quest_mail; + } + +// ---------------------------------------------------------------------------- +// +// r_smilplayer_confirm_call +// The string for the call to confirmation dialog +// +// ---------------------------------------------------------------------------- +RESOURCE TBUF r_smilplayer_confirm_callto + { + buf = qtn_smil_quest_call; + } + +// ---------------------------------------------------------------------------- +// +// r_wait_note +// The wait note during presentation is loading +// +// ---------------------------------------------------------------------------- +RESOURCE DIALOG r_wait_note + { + flags = EAknWaitNoteFlags; + buttons = R_AVKON_SOFTKEYS_EMPTY; + items= + { + DLG_LINE + { + type = EAknCtNote; + id = ESmilPlayerWaitNoteId; + control= AVKON_NOTE + { + layout = EWaitLayout; + singular_label = qtn_mms_wait_presentation_loading; + animation =R_QGN_GRAF_WAIT_BAR_ANIM; + }; + } + }; + } + +// ---------------------------------------------------------------------------- +// +// r_smilplayer_confirm_query +// The confirm dialog shown to the user +// +// ---------------------------------------------------------------------------- +RESOURCE DIALOG r_smilplayer_confirm_query + { + flags = EGeneralQueryFlags; + buttons = R_AVKON_SOFTKEYS_YES_NO__YES; + items = + { + DLG_LINE + { + type = EAknCtQuery; + id = EGeneralQuery; + control = AVKON_CONFIRMATION_QUERY + { + layout = EConfirmationQueryLayout; + bmpfile = AVKON_ICON_FILE; + bmpid = EMbmAvkonQgn_note_query; + bmpmask = EMbmAvkonQgn_note_query_mask; + animation = R_QGN_NOTE_QUERY_ANIM; + }; + } + }; + } + +// ---------------------------------------------------------------------------- +// +// r_smilplayer_call_interest +// AIW intrest definition for call functionality +// +// ---------------------------------------------------------------------------- +RESOURCE AIW_INTEREST r_smilplayer_call_interest + { + items= + { + AIW_CRITERIA_ITEM + { + id = KAiwCmdCall; // serviceCmd used here also as ID + serviceCmd = KAiwCmdCall; + contentType = "*"; + serviceClass = KAiwClassMenu; + defaultProvider = 0x101F868E; + maxProviders = 1; + } + }; + } + +// End of File + +// ----------------------------------------------------------------------------