phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/data/ccappcommlauncherpluginrsc.rss
/*
* 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 file for CCA Communication Launcher plugin
*
*/
// RESOURCE IDENTIFIER
NAME COML // 4 letter ID
// INCLUDES
#include <bldvariant.hrh>
#include <data_caging_paths_strings.hrh>
#include <eikon.rh>
#include <avkon.rh>
#include <EIKCORE.rsg>
#include <eikon.rsg>
#include <avkon.hrh>
#include <avkon.rsg>
#include <avkon.mbg>
#include <avkon.loc>
#include <AiwCommon.rh>
#include <AiwGenericParam.hrh>
// Usually plugins should have their own localisation file, but this one uses ccapp's and phonebook2's
#include <phonebook2.loc>
#include <phonebook2ece.loc>
#include "ccappcommlauncher.hrh"
// Todo: This will be read from loc file after localization
#define qtn_cca_default_status "Open Nokia OVI Services"
// RESOURCE DEFINITIONS
// ---------------------------------------------------------------------------
// RSS_SIGNATURE
// ---------------------------------------------------------------------------
//
RESOURCE RSS_SIGNATURE {}
// --------------------------------------------------------------------------
// r_ccacommlauncherw_softkeys_options_back_empty: Options - <Empty> - Back
// --------------------------------------------------------------------------
//
RESOURCE CBA r_ccacommlauncher_softkeys_options_back_empty
{
flags = 0;
buttons =
{
CBA_BUTTON
{
id = EAknSoftkeyOptions;
txt = text_softkey_option;
},
CBA_BUTTON
{
id = EAknSoftkeyBack;
txt = text_softkey_back;
},
CBA_BUTTON
{
}
};
}
// ---------------------------------------------------------------------------
// r_commlauncher_view
// ---------------------------------------------------------------------------
//
RESOURCE AVKON_VIEW r_commlauncher_view
{
menubar = r_ccacommlauncher_menubar;
cba = r_ccacommlauncher_softkeys_options_back_empty;
}
// ---------------------------------------------------------------------------
// r_ccacommlauncher_menubar
// ---------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_ccacommlauncher_menubar
{
titles =
{
MENU_TITLE { menu_pane = r_ccacommlauncher_menupane; }
};
}
// ---------------------------------------------------------------------------
// r_ccacommlauncher_menupane
// ---------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_ccacommlauncher_menupane
{
items =
{
MENU_ITEM
{
command = ECCAppCommLauncherSelectCmd;
txt = qtn_cca_opt_select;
flags = EEikMenuItemAction;
},
MENU_ITEM
{
command = ECCAppCommLauncherSelectOtherNmbCmd;
txt = qtn_cca_opt_select_other_number;
flags = EEikMenuItemAction;
},
MENU_ITEM
{
command = ECCAppCommLauncherSelectOtherAddrCmd;
txt = qtn_cca_opt_select_other_address;
},
MENU_ITEM
{
// KAiwCmdAssign AIW service cmd used as Edit Options-menu item
command = KAiwCmdAssign;
txt = qtn_phob_opt_entry_edit;
},
MENU_ITEM
{
command = ECCAppCommLauncherDeleteCmd;
txt = qtn_cca_options_delete_contact;
},
MENU_ITEM
{
command = ECCAppCommLauncherDefaultsCmd;
txt = qtn_phob_opt_default_settings;
},
MENU_ITEM
{
command = ECCAppCommLauncherVoiceTagDetailsCmd;
txt = "";//will be filled dynamically by AIW
},
#ifdef __SERIES60_HELP
MENU_ITEM
{
command = EAknCmdHelp;
txt = qtn_options_help;
},
#endif // __SERIES60_HELP
MENU_ITEM
{
command = EAknCmdExit;
txt = qtn_options_exit;
}
};
}
RESOURCE DIALOG r_deleteconfirmation_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_CONFIRMATION_QUERY
{
layout = EConfirmationQueryLayout;
};
}
};
}
// ---------------------------------------------------------------------------
// r_ccacommlauncher_aiw_menu_interests
// ---------------------------------------------------------------------------
//
RESOURCE AIW_INTEREST r_ccacommlauncher_aiw_menu_interests
{
items=
{
AIW_CRITERIA_ITEM
{
id = ECCAppCommLauncherVoiceTagDetailsCmd;
serviceCmd = KAiwCmdSindInfoView;
contentType = "*";
serviceClass = KAiwClassMenu;
defaultProvider = KAspInfoViewProviderDllUid;
maxProviders = 1;
}
// Add here other possible AIW menu criterias..
};
}
// ---------------------------------------------------------------------------
// r_ccacommlauncher_aiw_service_interests
// ---------------------------------------------------------------------------
//
RESOURCE AIW_INTEREST r_ccacommlauncher_aiw_service_interests
{
items=
{
AIW_CRITERIA_ITEM
{
id = KAiwCmdAssign;// serviceCmd used here also as ID
serviceCmd = KAiwCmdAssign;
contentType = EGenericParamContactLinkArrayStr;
serviceClass = KAiwClassMenu;//not working with KAiwClassBase altough used as service cmd
maxProviders = 1;
}
// Add here other possible AIW service criterias..
};
}
// ---------------------------------------------------------------------------
// r_ccacommlauncher_contact_image_stylus_menu
// ---------------------------------------------------------------------------
//
RESOURCE STYLUS_POPUP_MENU r_ccacommlauncher_contact_image_stylus_menu
{
items =
{
STYLUS_POPUP_MENU_ITEM { txt = qtn_cca_stylus_popup_view_image;
command = ECCAppCommLauncherStylusViewImageCmd; },
STYLUS_POPUP_MENU_ITEM { txt = qtn_cca_stylus_popup_change_image;
command = ECCAppCommLauncherStylusChangeImageCmd; },
STYLUS_POPUP_MENU_ITEM { txt = qtn_cca_stylus_popup_remove_image;
command = ECCAppCommLauncherStylusRemoveImageCmd; },
STYLUS_POPUP_MENU_ITEM { txt = qtn_cca_stylus_popup_add_image;
command = ECCAppCommLauncherStylusAddImageCmd; }
};
}
// ---------------------------------------------------------------------------
// resource texts
// ---------------------------------------------------------------------------
//
RESOURCE TBUF r_qtn_cca_call { buf = qtn_cca_call; }
RESOURCE TBUF r_qtn_cca_voip_call { buf = qtn_cca_voip_call; }
RESOURCE TBUF r_qtn_cca_message { buf = qtn_cca_message; }
RESOURCE TBUF r_qtn_cca_email { buf = qtn_cca_email; }
RESOURCE TBUF r_qtn_cca_chat { buf = qtn_cca_chat; }
RESOURCE TBUF r_qtn_cca_url { buf = qtn_cca_url; }
RESOURCE TBUF r_qtn_cca_video_call { buf = qtn_cca_video_call; }
RESOURCE TBUF r_qtn_cca_push_to_talk { buf = qtn_cca_push_to_talk; }
RESOURCE TBUF r_qtn_cca_multiple_numbers { buf = qtn_cca_multiple_numbers; }
RESOURCE TBUF r_qtn_cca_multiple_addresses { buf = qtn_cca_multiple_addresses; }
RESOURCE TBUF r_qtn_cca_multiple_numbers_addresses { buf = qtn_cca_multiple_numbers_addresses; }
RESOURCE TBUF r_qtn_cca_multiple_accounts { buf = qtn_cca_multiple_accounts; }
RESOURCE TBUF r_qtn_cca_multiple_other_numbers { buf = qtn_cca_multiple_other_numbers; }
RESOURCE TBUF r_qtn_cca_multiple_other_addresses { buf = qtn_cca_multiple_other_addresses; }
RESOURCE TBUF r_qtn_cca_one_other_address { buf = qtn_cca_one_other_address; }
RESOURCE TBUF r_qtn_cca_one_other_number { buf = qtn_cca_one_other_number; }
RESOURCE TBUF r_qtn_cca_no_communication_methods { buf = qtn_cca_no_communication_methods; }
RESOURCE TBUF r_qtn_cca_confirmation_query_delete_contact { buf = qtn_cca_confirmation_query_delete_contact; }
RESOURCE TBUF r_qtn_phob_comlauncher_find_on_map { buf = qtn_phob_comlauncher_find_on_map; }
RESOURCE TBUF r_qtn_phob_comlauncher_show_on_map { buf = qtn_phob_comlauncher_show_on_map; }
RESOURCE TBUF r_qtn_phob_popup_incomplete_address { buf = qtn_phob_popup_incomplete_address; }
RESOURCE TBUF r_qtn_phob_commlauncher_onelinepreview { buf = qtn_phob_commlauncher_onelinepreview; }
RESOURCE TBUF r_qtn_cca_voip_call_with_servicename { buf = qtn_cca_voip_call_single_service; }
RESOURCE TBUF r_qtn_cca_default_status { buf = qtn_cca_default_status; }
//End of File