--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emailcontacts/remotecontactlookup/engine/data/engine.rss Thu Dec 17 08:39:21 2009 +0200
@@ -0,0 +1,676 @@
+/*
+* Copyright (c) 2008 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 definitions for the engine.
+*
+*/
+
+
+NAME RCLE
+
+#include <eikon.rh>
+#include <avkon.rsg>
+#include <avkon.rh>
+#include <avkon.mbg>
+#include <avkon.loc>
+#include <appinfo.rh>
+#include "engine.hrh"
+#include <rclengine.loc> // <cmail>
+#include <AiwCommon.hrh>
+#include <AiwCommon.rh>
+#include <AiwPoCParameters.hrh>
+
+RESOURCE RSS_SIGNATURE { }
+RESOURCE TBUF { buf=""; }
+//
+// ---------------------------------------------------------------------------
+// Message resources
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE TBUF r_qtn_rcl_search { buf = qtn_rcl_search; }
+
+RESOURCE TBUF r_qtn_rcl_search_wait_note { buf = qtn_rcl_search_wait_note; }
+
+RESOURCE TBUF r_qtn_rcl_result_navi { buf = qtn_rcl_result_navi; }
+
+RESOURCE TBUF r_qtn_rcl_one_result_navi { buf = qtn_rcl_one_result_navi; }
+
+RESOURCE TBUF r_qtn_rcl_info_navi { buf = qtn_rcl_info_navi; }
+
+RESOURCE TBUF r_qtn_rcl_opening_wait_note { buf = qtn_rcl_opening_wait_note; }
+
+RESOURCE TBUF r_qtn_rcl_retrieval_wait_note { buf = qtn_rcl_retrieval_wait_note; }
+
+RESOURCE TBUF r_qtn_rcl_saving_wait_note { buf = qtn_rcl_saving_wait_note; }
+
+RESOURCE TBUF r_qtn_rcl_no_results { buf = qtn_rcl_no_results; }
+
+RESOURCE TBUF r_qtn_rcl_too_many_results_note { buf = qtn_rcl_too_many_results_note; }
+
+RESOURCE TBUF r_qtn_rcl_error_note { buf = qtn_rcl_error_note; }
+
+RESOURCE TBUF r_qtn_rcl_update_note { buf = qtn_rcl_update_note; }
+
+RESOURCE TBUF r_qtn_rcl_add_recipient_action_menu_text { buf = qtn_fs_action_recipient; }
+
+RESOURCE TBUF r_qtn_rcl_setting_rcl_server { buf = qtn_fs_setting_rcl_server; }
+
+RESOURCE TBUF r_qtn_rcl_setting_rcl_server_none { buf = qtn_fs_setting_rcl_server_none; }
+
+RESOURCE TBUF r_qtn_rcl_setting_rcl_not_defined { buf = qtn_fs_setting_rcl_not_defined; }
+
+RESOURCE TBUF r_qtn_rcl_replace_existing_detail_note { buf = qtn_rcl_replace_existing_detail_note; }
+
+//
+//----------------------------------------------------------------------------
+// Menu pane for search result dialog
+//----------------------------------------------------------------------------
+//
+
+RESOURCE MENU_PANE r_rcl_search_result_dialog_menu_pane
+ {
+ items =
+ {
+ MENU_ITEM { command = ERclCmdViewDetails; txt = qtn_rcl_opt_details; },
+ MENU_ITEM { command = ERclCmdAddAsRecipient; txt = qtn_rcl_opt_add_recipient; },
+ MENU_ITEM { command = ERclCmdSaveToContacts; txt = qtn_rcl_opt_save_contact; },
+ MENU_ITEM { command = ERclCmdNewSearch; txt = qtn_rcl_opt_new_search; },
+ MENU_ITEM { command = ERclCmdCall; cascade = r_rcl_call_menu_pane; txt = qtn_rcl_opt_call; },
+ MENU_ITEM { command = ERclCmdSend; cascade = r_rcl_send_menu_pane; txt = qtn_rcl_opt_send; },
+ MENU_ITEM { command = ERclCmdHelp; txt = qtn_options_help; },
+ MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Menu sub pane for call options
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE MENU_PANE r_rcl_call_menu_pane
+ {
+ items =
+ {
+ MENU_ITEM { command = ERclCmdVoiceCall; txt = qtn_rcl_opt_voice_call; },
+ MENU_ITEM { command = ERclCmdVideoCall; txt = qtn_rcl_opt_video_call; },
+ MENU_ITEM { command = ERclCmdVoip; txt = qtn_rcl_opt_voip; }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Menu sub pane for send options
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE MENU_PANE r_rcl_send_menu_pane
+ {
+ items =
+ {
+ MENU_ITEM { command = ERclCmdSendMsg; txt = qtn_rcl_opt_msg; },
+ MENU_ITEM { command = ERclCmdSendEmail; txt = qtn_rcl_opt_email; },
+ MENU_ITEM { command = ERclCmdSendMeetingReq; txt = qtn_rcl_opt_mreq; },
+ MENU_ITEM { command = ERclCmdSendBusinessCard; txt = qtn_rcl_opt_bcard; },
+ MENU_ITEM { command = ERclCmdSendAudioMsg; txt = qtn_rcl_opt_audio; }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Menu sub pane for send options for context sensitive menu
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE MENU_PANE r_rcl_context_send_menu_pane
+ {
+ items =
+ {
+ MENU_ITEM { command = ERclCmdSendMsg; txt = qtn_rcl_opt_msg; },
+ MENU_ITEM { command = ERclCmdSendEmail; txt = qtn_rcl_opt_email; },
+ MENU_ITEM { command = ERclCmdSendMeetingReq; txt = qtn_rcl_opt_mreq; },
+ MENU_ITEM { command = ERclCmdSendBusinessCard; txt = qtn_rcl_opt_bcard; },
+ MENU_ITEM { command = ERclCmdSendAudioMsg; txt = qtn_rcl_opt_audio; }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Menu sub pane for talk options
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE MENU_PANE r_rcl_talk_menu_pane
+ {
+ items =
+ {
+ MENU_ITEM { command = ERclCmdToContact; txt = qtn_rcl_opt_talk_1to1; },
+ MENU_ITEM { command = ERclCmdSendCallbackReq; txt = qtn_rcl_opt_talk_cbr; }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Menu pane for result info dialog
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE MENU_PANE r_rcl_result_info_dialog_menu_pane
+ {
+ items =
+ {
+ MENU_ITEM { command = ERclCmdAddAsRecipient; txt = qtn_rcl_opt_add_recipient; },
+ MENU_ITEM { command = ERclCmdAddToContacts; cascade = r_rcl_add_to_contacts_menu_pane; txt = qtn_rcl_opt_add_contacts; },
+ MENU_ITEM { command = ERclCmdCall; cascade = r_rcl_call_menu_pane; txt = qtn_rcl_opt_call; },
+ MENU_ITEM { command = ERclCmdTalk; cascade = r_rcl_talk_menu_pane; txt = qtn_rcl_opt_talk; },
+ MENU_ITEM { command = ERclCmdSend; cascade = r_rcl_send_menu_pane; txt = qtn_rcl_opt_send; },
+ MENU_ITEM { command = ERclCmdHelp; txt = qtn_options_help; },
+ MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Context menu pane for result info dialog
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE MENU_PANE r_rcl_result_info_dialog_context_menu_pane
+ {
+ items =
+ {
+ MENU_ITEM { command = ERclCmdAddAsRecipient; txt = qtn_rcl_opt_add_recipient; },
+ MENU_ITEM { command = ERclCmdAddToContacts; cascade = r_rcl_add_to_contacts_menu_pane; txt = qtn_rcl_opt_add_contacts; },
+ MENU_ITEM { command = ERclCmdCall; cascade = r_rcl_call_menu_pane; txt = qtn_rcl_opt_call; },
+ MENU_ITEM { command = ERclCmdSend; cascade = r_rcl_context_send_menu_pane; txt = qtn_rcl_opt_send; }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Sub menu pane for add to contacts menu option
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE MENU_PANE r_rcl_add_to_contacts_menu_pane
+ {
+ items =
+ {
+ MENU_ITEM { command = ERclCmdCreateNew; txt = qtn_rcl_opt_create_new; },
+ MENU_ITEM { command = ERclCmdUpdateExisting; txt = qtn_rcl_opt_update_existing; }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Menu bar for search result dialog
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE MENU_BAR r_rcl_search_result_dialog_menu_bar
+ {
+ titles =
+ {
+ MENU_TITLE { menu_pane = r_rcl_search_result_dialog_menu_pane; }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Menu bar for result info fialog
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE MENU_BAR r_rcl_result_info_dialog_menu_bar
+ {
+ titles =
+ {
+ MENU_TITLE { menu_pane = r_rcl_result_info_dialog_menu_pane; }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Context sensitive menu bar for info dialog
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE MENU_BAR r_rcl_result_info_dialog_context_menu_bar
+ {
+ titles =
+ {
+ MENU_TITLE { menu_pane = r_rcl_result_info_dialog_context_menu_pane; }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// RCL setting item page for selecting account
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE AVKON_SETTING_PAGE r_rcl_setting_item_page
+ {
+ type = EAknCtPopupSettingList;
+ editor_resource_id = r_rcl_popup_setting_list;
+ }
+
+//
+// ---------------------------------------------------------------------------
+// RCL popup setting list for selecting account
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE POPUP_SETTING_LIST r_rcl_popup_setting_list
+ {
+ flags = 0;
+ }
+
+//
+// ---------------------------------------------------------------------------
+// RCL popup setting texts
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE AVKON_POPUP_SETTING_TEXTS r_rcl_popup_setting_texts
+ {
+ setting_texts_resource = r_rcl_setting_text_array;
+ }
+
+//
+// ---------------------------------------------------------------------------
+// RCL popup setting text array
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE ARRAY r_rcl_setting_text_array
+ {
+ items =
+ {
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Wait dialog while executing remote search
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE DIALOG r_rcl_search_wait_dialog_cancel
+ {
+ flags = EAknWaitNoteFlags;
+ buttons = R_AVKON_SOFTKEYS_CANCEL;
+ items =
+ {
+ DLG_LINE
+ {
+ type = EAknCtNote;
+ id = KRclWaitDialogId;
+ control = AVKON_NOTE
+ {
+ layout = EWaitLayout;
+ animation = R_QGN_GRAF_WAIT_BAR_ANIM;
+ };
+ }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Confirmation note
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE DIALOG r_rcl_confirmation_note
+ {
+ flags = EAknConfirmationNoteFlags | EEikDialogFlagWait;
+ items =
+ {
+ DLG_LINE
+ {
+ type = EAknCtNote;
+ id = EGeneralNote;
+ control = AVKON_NOTE
+ {
+ layout = EGeneralLayout;
+ imagefile = AVKON_BITMAP_FILE;
+ imageid = EMbmAvkonQgn_note_ok;
+ imagemask = EMbmAvkonQgn_note_ok_mask;
+ };
+ }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Query dialog with softkeys Ok - Refine
+// ---------------------------------------------------------------------------
+//
+//Fix for: EASV-7KFGG3
+RESOURCE DIALOG r_rcl_confirmation_note_ok_refine
+ {
+ flags=EGeneralQueryFlags;
+ buttons=r_rcl_ok_refine_cba;
+ items=
+ {
+ DLG_LINE
+ {
+ type=EAknCtQuery;
+ id=EGeneralQuery;
+ control= AVKON_CONFIRMATION_QUERY
+ {
+ layout = EConfirmationQueryLayout;
+ animation = R_QGN_NOTE_WARNING_ANIM;
+ };
+ }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Confirmation note with softkeys Yes - Cancel
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE DIALOG r_rcl_confirmation_note_yes_cancel
+ {
+ flags = EAknConfirmationNoteFlags | EEikDialogFlagWait;
+ buttons = r_rcl_yes_cancel_cba;
+ items =
+ {
+ DLG_LINE
+ {
+ type = EAknCtNote;
+ id = EGeneralNote;
+ control = AVKON_NOTE
+ {
+ layout = EGeneralLayout;
+ imagefile = AVKON_BITMAP_FILE;
+ imageid = EMbmAvkonQgn_note_ok;
+ imagemask = EMbmAvkonQgn_note_ok_mask;
+ };
+ }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Warning note
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE DIALOG r_rcl_warning_note
+ {
+ flags = EAknErrorNoteFlags | EEikDialogFlagWait;
+ items =
+ {
+ DLG_LINE
+ {
+ type = EAknCtNote;
+ id = EGeneralNote;
+ control = AVKON_NOTE
+ {
+ layout = EGeneralLayout;
+ imagefile = AVKON_BITMAP_FILE;
+ imageid = EMbmAvkonQgn_note_warning;
+ imagemask = EMbmAvkonQgn_note_warning_mask;
+ };
+ }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Remote lookup search result dialog
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE DIALOG r_rcl_search_result_dialog
+ {
+ flags = EAknDialogSelectionList;
+ buttons = r_rcl_options_back_open;
+ items =
+ {
+ DLG_LINE
+ {
+ type = ERclSearchResultListBox;
+ id = ESelectionListControl;
+ control = LISTBOX
+ {
+ flags = EAknListBoxSelectionList;
+ };
+ }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Result information dialog
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE DIALOG r_rcl_result_info_dialog
+ {
+ flags = EAknDialogSelectionList;
+ buttons = r_rcl_options_back_contextmenu;
+ items =
+ {
+ DLG_LINE
+ {
+ type = ERclResultInfoListBox;
+ id = ESelectionListControl;
+ control = LISTBOX
+ {
+ flags = EAknListBoxSelectionList;
+ };
+ }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Query editor dialog
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE DIALOG r_rcl_query_dialog
+ {
+ flags = EGeneralQueryFlags;
+ buttons = r_rcl_search_cancel_cba;
+ items =
+ {
+ DLG_LINE
+ {
+ type = EAknCtQuery;
+ id = EGeneralQuery;
+ control = AVKON_DATA_QUERY
+ {
+ layout = EDataLayout;
+ control = EDWIN
+ {
+ flags = EAknEditorFlagDefault;
+ maxlength = KRclQueryTextMaxLength;
+ allowed_input_modes = EAknEditorNumericInputMode | EAknEditorTextInputMode;
+ };
+ };
+ }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Search cancel cba
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE CBA r_rcl_search_cancel_cba
+ {
+ breadth = 80;
+ buttons =
+ {
+ CBA_BUTTON
+ {
+ id = EAknSoftkeyOk;
+ txt = qtn_rcl_softkey_search;
+ },
+ CBA_BUTTON
+ {
+ id = EAknSoftkeyCancel;
+ txt = text_softkey_cancel;
+ },
+ CBA_BUTTON
+ {
+ id = EAknSoftkeyOk;
+ txt = qgn_prop_msk_select;
+ }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Ok refine cba
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE CBA r_rcl_ok_refine_cba
+ {
+ breadth = 80;
+ buttons =
+ {
+ CBA_BUTTON
+ {
+ id = EAknSoftkeyOk;
+ txt = text_softkey_ok;
+ },
+ CBA_BUTTON
+ {
+ id = EAknSoftkeyCancel;
+ txt = qtn_rcl_softkey_refine;
+ },
+ CBA_BUTTON
+ {
+ id = EAknSoftkeyOk;
+ txt = text_softkey_ok;
+ }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Yes cancel cba
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE CBA r_rcl_yes_cancel_cba
+ {
+ breadth = 80;
+ buttons =
+ {
+ CBA_BUTTON
+ {
+ id = EAknSoftkeyOk;
+ txt = text_softkey_yes;
+ },
+ CBA_BUTTON
+ {
+ id = EAknSoftkeyCancel;
+ txt = text_softkey_cancel;
+ },
+ CBA_BUTTON
+ {
+ id = EAknSoftkeyOk;
+ txt = text_softkey_yes;
+ }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Poc aiw interest
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE AIW_INTEREST r_rcl_poc_interest
+ {
+ items =
+ {
+ AIW_CRITERIA_ITEM
+ {
+ id = KAiwCmdPoC;
+ serviceCmd = KAiwCmdPoC;
+ contentType = "*";
+ serviceClass = KAiwClassBase;
+ defaultProvider = KS60PoCAiwProviderImplUid;
+ maxProviders = 1;
+ }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Options - Open - Back cba
+// ---------------------------------------------------------------------------
+//
+RESOURCE CBA r_rcl_options_back_open
+ {
+ breadth = 80;
+ buttons =
+ {
+ CBA_BUTTON
+ {
+ id = EAknSoftkeyOptions;
+ txt = text_softkey_option;
+ },
+ CBA_BUTTON
+ {
+ id = EAknSoftkeyBack;
+ txt = text_softkey_back;
+ },
+ CBA_BUTTON
+ {
+ id = EAknSoftkeyOpen;
+ txt = text_softkey_open;
+ }
+ };
+ }
+
+//
+// ---------------------------------------------------------------------------
+// Options Back cba
+// ---------------------------------------------------------------------------
+//
+
+RESOURCE CBA r_rcl_options_back_contextmenu
+ {
+ breadth = 80;
+ buttons =
+ {
+ CBA_BUTTON
+ {
+ id = EAknSoftkeyOptions;
+ txt = text_softkey_option;
+ },
+ CBA_BUTTON
+ {
+ id = EAknSoftkeyBack;
+ txt = text_softkey_back;
+ },
+ CBA_BUTTON
+ {
+ id = EAknSoftkeyContextOptions;
+ txt = text_softkey_option;
+ }
+ };
+ }
+