--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/gssettingsuis/Gs/GSCallDivertPlugin/Data/GSCallDivertPluginRsc.rss Wed Sep 01 12:20:44 2010 +0100
@@ -0,0 +1,559 @@
+/*
+* Copyright (c) 2006 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: Resource file for GSCallDivertPlugin
+*
+*/
+
+// RESOURCE IDENTIFIER
+NAME CFWD // 4 letter ID
+
+// INCLUDES
+#include <bldvariant.hrh>
+
+#include "CallDivertPlugin.hrh"
+
+#include <cf.loc>
+#include <gs.loc>
+#include <gscommon.hrh>
+#include <gscommon.rh>
+#include <gsapp.rsg>
+#include <appinfo.rh>
+#include <avkon.loc>
+#include <avkon.mbg>
+#include <avkon.rsg>
+#include <AvkonIcons.hrh>
+#include <data_caging_paths_strings.hrh>
+#include <eikcore.rsg>
+#include <eikon.rsg>
+#include <gscalldivertplugin.mbg>
+#include <uikon.rh>
+
+
+#include <AiwCommon.rh> // AIW for pbk2
+#include <AiwGenericParam.hrh> // AIW for pbk2
+
+// CONSTANTS
+
+
+// RESOURCE DEFINITIONS
+
+RESOURCE RSS_SIGNATURE
+ {
+ }
+
+// Common resources among GS
+#include "GSCommonResources.rss"
+
+RESOURCE TBUF
+ {
+ buf="CFWD";
+ }
+
+//----------------------------------------------------
+//
+// EIK_APP_INFO
+// It contains application information.
+//
+//----------------------------------------------------
+//
+RESOURCE EIK_APP_INFO
+ {
+ }
+
+
+//----------------------------------------------------
+// r_gs_call_divert_caption
+//
+// Data call view caption for plugin
+//----------------------------------------------------
+//
+RESOURCE TBUF r_gs_call_divert_caption
+ {
+ buf = qtn_set_folder_divert;
+ }
+
+//Divert
+
+//----------------------------------------------------
+//
+// r_cf_main_view
+// The main view.
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_cf_main_view
+ {
+ menubar = r_cf_menubar_open_exit;
+ cba = R_GS_SOFTKEYS_OPTIONS_BACK_OPEN;
+ }
+
+
+
+//----------------------------------------------------
+//
+// r_cf_menubar_open_exit
+// Call forward menu bar.
+//
+//----------------------------------------------------
+//
+RESOURCE MENU_BAR r_cf_menubar_open_exit
+ {
+ titles =
+ {
+ MENU_TITLE
+ {
+ menu_pane = r_gs_menu_item_exit;
+ },
+ MENU_TITLE
+ {
+ menu_pane = r_gs_menu_item_help;
+ },
+ MENU_TITLE
+ {
+ menu_pane = r_cf_cancel_all_diverts;
+ },
+ MENU_TITLE
+ {
+ menu_pane = r_gs_menu_item_open;
+ }
+ };
+ }
+
+
+
+//----------------------------------------------------
+//
+// r_cf_cancel_all_diverts
+// Call forward "cancel all" menu pane.
+//
+//----------------------------------------------------
+//
+RESOURCE MENU_PANE r_cf_cancel_all_diverts
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = ECFCmdCancelAll;
+ txt = text_cancel_all_diverts;
+ }
+ };
+ }
+
+
+//----------------------------------------------------
+//
+// r_cf_main_view_title
+// Title for the main view: "Call Divert"
+//
+//----------------------------------------------------
+//
+RESOURCE TITLE_PANE r_cf_main_view_title
+ {
+ txt = qtn_div_heading_cf;
+ }
+
+
+//----------------------------------------------------
+//
+// r_cf_div_view_menu
+// Menu pane for Options.
+//
+//----------------------------------------------------
+//
+RESOURCE MENU_PANE r_cf_div_view_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = ECFCmdActivate;
+ txt = text_activate_divert;
+ },
+ MENU_ITEM
+ {
+ command = ECFCmdCancel;
+ txt = text_cancel_divert;
+ },
+ MENU_ITEM
+ {
+ command = ECFCmdCheckStatus;
+ txt = text_check_status;
+ },
+ MENU_ITEM
+ {
+ command = EAknCmdHelp;
+ txt = qtn_options_help;
+ },
+ MENU_ITEM
+ {
+ command = EAknCmdExit;
+ txt = qtn_options_exit;
+ }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_cf_menubar_options_view
+// Menu bar in the Main view.
+//
+//----------------------------------------------------
+//
+RESOURCE MENU_BAR r_cf_menubar_options_view
+ {
+ titles =
+ {
+ MENU_TITLE {menu_pane = r_cf_div_view_menu;}
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_cf_menubar_div_view
+// Menu bar in the Main view when selection key has been pressed.
+//
+//----------------------------------------------------
+//
+RESOURCE MENU_BAR r_cf_menubar_div_view
+ {
+ titles =
+ {
+ MENU_TITLE {menu_pane = r_cf_div_view_menu;}
+ };
+ }
+
+
+//-----------------------------------------------------------------------------
+//
+// r_cf_main_lbx_resource
+// List box resource.
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE LISTBOX r_cf_main_lbx_resource
+ {
+ array_id = r_cf_main_lbx;
+ flags = EEikListBoxMultipleSelection;
+ }
+
+
+//----------------------------------------------------
+//
+// r_cf_voice_view_title
+// Title for the sub view: "Voice Call Diverts"
+//
+//----------------------------------------------------
+//
+RESOURCE TITLE_PANE r_cf_voice_view_title
+ {
+ txt = qtn_div_heading_voice;
+ }
+
+//----------------------------------------------------
+//
+// r_cf_video_view_title
+// Title for the sub view: "Video Call Diverts"
+//
+//----------------------------------------------------
+//
+RESOURCE TITLE_PANE r_cf_video_view_title
+ {
+ txt = qtn_div_heading_video;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_cf_div_lbx
+// List items in the call divert view.
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE GS_FEATURE_ARRAY r_cf_div_lbx
+ {
+ items =
+ {
+ GS_FEATURE
+ {
+ txt = " \t"qtn_div_dlist_all"\t\t";
+ item = ECFDivertVoiceCalls;
+ type = EGSListBoxItemTypeIsDynamic;
+ },
+ GS_FEATURE
+ {
+ txt = " \t"qtn_div_dlist_all_video"\t\t";
+ item = ECFDivertVideoCalls;
+ type = EGSListBoxItemTypeIsDynamic;
+ },
+ GS_FEATURE
+ {
+ txt = " \t"qtn_div_dlist_busy"\t\t";
+ item = ECFDivertWhenBusy;
+ },
+ GS_FEATURE
+ {
+ txt = " \t"qtn_div_dlist_noreply"\t\t";
+ item = ECFDivertWhenNoAnswer;
+ },
+ GS_FEATURE
+ {
+ txt = " \t"qtn_div_dlist_outreach"\t\t";
+ item = ECFDivertWhenOutOfReach;
+ },
+ GS_FEATURE
+ {
+ txt = " \t"qtn_div_dlist_notavail"\t\t";
+ item = ECFDivertWhenNotAvailable;
+ }
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_cf_main_lbx
+// List items in the call divert main view. IDs are from enum
+// TGSCallDivertServiceGroups.
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE GS_FEATURE_ARRAY r_cf_main_lbx
+ {
+ items =
+ {
+ GS_FEATURE
+ {
+ txt = " \t"qtn_div_voice_calls;
+ item = EGSSettIdVoiceDivert;
+ },
+ GS_FEATURE
+ {
+ txt = " \t"qtn_div_video_calls;
+ item = EGSSettIdVideoDivert;
+ }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_cf_div_view
+// The diverts view.
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_cf_div_view
+ {
+ menubar = r_cf_menubar_options_view;
+ cba = R_GS_SOFTKEYS_OPTIONS_BACK_CONTEXTOPTIONS;
+ }
+
+// -----------------------------------------------------------------------------
+//
+// r_cf_restricted_main_lbx_resource
+// List box resource.
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE LISTBOX r_cf_restricted_main_lbx_resource
+ {
+ array_id = r_cf_restricted_main_lbx;
+ flags = EEikListBoxMultipleSelection;
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_cf_restricted_main_lbx
+// List items in the restricted call divert main view.
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE GS_FEATURE_ARRAY r_cf_restricted_main_lbx
+ {
+ items =
+ {
+ GS_FEATURE
+ {
+ txt = " \t"qtn_div_restricted;
+ item = ECFDivertVoiceCalls;
+ }
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// r_title_array
+// Titles for specific popups.
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE ARRAY r_title_array
+ {
+ items =
+ {
+ LBUF {txt = qtn_div_title_all;},
+ LBUF {txt = qtn_div_title_all_video;},
+ LBUF {txt = qtn_div_title_busy;},
+ LBUF {txt = qtn_div_title_not_answered;},
+ LBUF {txt = qtn_div_title_not_reach;},
+ LBUF {txt = qtn_div_title_not_available;}
+ };
+ }
+
+//-----------------------------------------------------------------------------
+//
+// (various resources)
+// Texts for additional dialogs and popups.
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE TBUF r_text_divert_to_voice_mail {buf = text_divert_to_voice_mail;}
+RESOURCE TBUF r_text_divert_to_number {buf = text_divert_to_number;}
+RESOURCE TBUF r_text_slist_seconds {buf = qtn_div_slist_seconds;}
+RESOURCE TBUF r_text_delay_header {buf = qtn_div_heading_delay;}
+RESOURCE TBUF r_text_prmpt_data_number {buf = qtn_ss_prmpt_video_number;}
+RESOURCE TBUF r_text_prmpt_number {buf = qtn_div_prmpt_number;}
+RESOURCE TBUF r_invalid_number {buf = text_invalid_number;}
+
+//-----------------------------------------------------------------------------
+//
+// r_data_query
+// "To other number"-dialog
+//
+//-----------------------------------------------------------------------------
+//
+RESOURCE DIALOG r_data_query
+ {
+ flags = EGeneralQueryFlags;
+ buttons = R_AVKON_SOFTKEYS_SEARCH_BACK;
+ items =
+ {
+ DLG_LINE
+ {
+ type = EAknCtQuery;
+ id = EGeneralQuery;
+ control = AVKON_DATA_QUERY
+ {
+ layout = EPhoneLayout;
+ control = EDWIN
+ {
+ flags = EEikEdwinNoHorizScrolling;
+ width = 10;
+ lines = 1;
+ maxlength = KGSMaxDataLength;
+ numeric_keymap=EAknEditorStandardNumberModeKeymap;
+ allowed_input_modes=EAknEditorNumericInputMode;
+ default_input_mode=EAknEditorNumericInputMode;
+ };
+ };
+ }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_cf_softkeys_search_cancel, own cba for
+// search - cancel softkey combination
+//
+//----------------------------------------------------
+//
+RESOURCE CBA r_cf_softkeys_search_cancel
+ {
+ buttons =
+ {
+ CBA_BUTTON{id=EAknSoftkeySearch; txt=text_softkey_search; },
+ CBA_BUTTON{id=EAknSoftkeyCancel; txt=text_softkey_cancel; },
+ CBA_BUTTON{id=EAknSoftkeySearch; txt=text_softkey_search; }
+ };
+ }
+
+
+RESOURCE TBUF r_qtn_ss_divert_to_video_mailbox
+ {
+ buf = qtn_ss_divert_to_video_mailbox;
+ }
+
+RESOURCE TBUF r_qtn_ss_divert_vcall_to_other_number
+ {
+ buf = qtn_ss_divert_vcall_to_other_number;
+ }
+
+//MSK Labels and Resources
+
+//----------------------------------------------------
+//
+// r_call_divert_msk_contextmenubar
+// Options menu with 'Open'.
+// Context Menu Options for MSK key handling
+//----------------------------------------------------
+//
+RESOURCE MENU_BAR r_call_divert_msk_contextmenubar
+ {
+ titles =
+ {
+ MENU_TITLE {menu_pane = r_cf_msk_div_view_menu;}
+ };
+ }
+
+
+//----------------------------------------------------
+//
+// r_cf_msk_div_view_menu
+// Menu pane for Context Options.
+//
+//----------------------------------------------------
+//
+RESOURCE MENU_PANE r_cf_msk_div_view_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = ECFCmdActivate;
+ txt = text_activate_divert;
+ },
+ MENU_ITEM
+ {
+ command = ECFCmdCancel;
+ txt = text_cancel_divert;
+ },
+ MENU_ITEM
+ {
+ command = ECFCmdCheckStatus;
+ txt = text_check_status;
+ }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_call_divert_contact_selection_interest
+// Contact selection interest.
+//
+//----------------------------------------------------
+RESOURCE AIW_INTEREST r_call_divert_contact_selection_interest
+ {
+ items=
+ {
+ AIW_CRITERIA_ITEM
+ {
+ id = KAiwCmdSelect; // serviceCmd used here also as ID
+ serviceCmd = KAiwCmdSelect;
+ contentType = EGenericParamContactLinkArrayStr;
+ serviceClass = KAiwClassBase;
+ maxProviders = 1;
+ }
+ };
+ }
+
+
+//End of File