/*
* Copyright (c) 2005-2007 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:  Phonebook 2 service dialing view definition.
*
*/


// --------------------------------------------------------------------------
// SDN contact view
// --------------------------------------------------------------------------
//
RESOURCE VPBK_CONTACT_VIEW r_psu2_sdn_contacts_view
    {
    uri = KVPBK_SIM_GLOBAL_SDN_URI;
    flags = EVPbkContactViewFlagsNone;
    subViews = {};
    }

// --------------------------------------------------------------------------
// Avkon view definition
// --------------------------------------------------------------------------
//
RESOURCE AVKON_VIEW r_psu2_service_dialing_appview
    {
    menubar = r_psu2_service_dialing_menubar;
    cba = R_AVKON_SOFTKEYS_BACK;
    }

// --------------------------------------------------------------------------
// Menu bar
// --------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_psu2_service_dialing_menubar
    {
    titles =
        {
        MENU_TITLE
            {
            menu_pane = R_PHONEBOOK2_SYSTEM_MENU;
            },
        MENU_TITLE
            {
            menu_pane = r_psu2_service_dialing_copy_menupane;
            },
        MENU_TITLE
            {
            menu_pane = R_AVKON_MENUPANE_MARKABLE_LIST;
            },
        MENU_TITLE
            {
            menu_pane = R_PHONEBOOK2_CALL_MENU;
            },
        MENU_TITLE
            {
            menu_pane = r_psu2_service_dialing_open_menupane;
            }
        };
    }

// --------------------------------------------------------------------------
// Context menu bar
// --------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_psu2_service_dialing_context_menubar
    {
    titles =
        {
        MENU_TITLE
            {
            menu_pane = r_psu2_service_dialing_copy_menupane;
            },
        MENU_TITLE
            {
            menu_pane = R_AVKON_MENUPANE_MARKABLE_LIST;
            }
        };
    }

// --------------------------------------------------------------------------
// Open menu pane
// --------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_psu2_service_dialing_open_menupane
    {
    items=
        {
        MENU_ITEM
            {
            command = EPsu2CmdOpenServiceDialingInfoView;
            txt = qtn_simp_opt_entry_view;
            }
        };
    }

// --------------------------------------------------------------------------
// Copy menu pane
// --------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_psu2_service_dialing_copy_menupane
    {
    items=
        {
        MENU_ITEM
            {
            command = EPbk2CmdCopy;
            txt = qtn_simp_opt_copy_to_pb;
            }
        };
    }

// --------------------------------------------------------------------------
// Names list control
// --------------------------------------------------------------------------
//
RESOURCE PBK2_CONTACT_CONTROL r_psu2_service_dialing_name_list_control
    {
    // Flags
    flags = KPbk2ContactViewListControlUpdateContextPane | KPbk2ContactViewListControlFindBox;
    // Listbox resource
    listbox = LISTBOX
        {
        flags = EAknListBoxMarkableList|EAknListBoxLoopScrolling|EAknListBoxShiftEnterMarks;
        };
    // Optional link to an icon array resource, see PBK2_ICON_ARRAY
    iconArray = R_PBK2_FIELDTYPE_ICONS;
    // Empty icon id in iconArray(s)
    emptyIconId = PHONEBOOK2_ICON_ID
        {
        ownerUid = KPbk2UID3;
        id = EPbk2qgn_prop_nrtyp_empty;
        };
    // Optional default icon to use for all list rows
    defaultIconId = PHONEBOOK2_ICON_ID
        {
        ownerUid = KPbk2UID3;
        id = EPbk2qgn_prop_nrtyp_phone;
        };
    }

// --------------------------------------------------------------------------
// Tabs
// --------------------------------------------------------------------------
//
RESOURCE PBK2_VIEW_NODE_TAB_ARRAY r_psu2_service_dialing_view_tabs
    {
    items =
        {
        PBK2_VIEW_NODE_TAB
            {
            version = 0;
            tabsInGroup = 1;
            tab = r_psu2_service_dialing_view_tab1;
            }
        };
    }

// --------------------------------------------------------------------------
// Tab
// --------------------------------------------------------------------------
//
RESOURCE TAB r_psu2_service_dialing_view_tab1
    {
    id = EPsu2ServiceDialingViewId;
    }

// End of File
