/*
* 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 own number view definition.
*
*/


// --------------------------------------------------------------------------
// Own number view
// --------------------------------------------------------------------------
//
RESOURCE VPBK_CONTACT_VIEW r_psu2_own_number_contacts_view
    {
    uri = KVPBK_SIM_GLOBAL_OWN_NUMBER_URI;
    flags = EVPbkContactViewFlagsNone;
    subViews = {};
    }

// --------------------------------------------------------------------------
// Avkon view definition
// --------------------------------------------------------------------------
//
RESOURCE AVKON_VIEW r_psu2_own_number_appview
    {
    menubar = r_psu2_own_number_menubar;
    cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
    }

// --------------------------------------------------------------------------
// Menu bar
// --------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_psu2_own_number_menubar
    {
    titles =
        {
        MENU_TITLE
            {
            menu_pane = R_PHONEBOOK2_SYSTEM_MENU;
            }
        };
    }

// --------------------------------------------------------------------------
// Names list control
// --------------------------------------------------------------------------
//
RESOURCE PBK2_CONTACT_CONTROL r_psu2_own_number_name_list_control
    {
    // Flags
    flags = KPbk2ContactViewListControlUpdateContextPane;
    // Listbox resource
    listbox = LISTBOX
        {
        flags = EAknListBoxLoopScrolling;
        };
    // 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_own_number_view_tabs
    {
    items =
        {
        PBK2_VIEW_NODE_TAB
            {
            version = 0;
            tabsInGroup = 1;
            tab = r_psu2_own_number_view_tab1;
            }
        };
    }

// --------------------------------------------------------------------------
// Tab
// --------------------------------------------------------------------------
//
RESOURCE TAB r_psu2_own_number_view_tab1
    {
    id = EPsu2OwnNumberViewId;
    }

// --------------------------------------------------------------------------
// Icons
// --------------------------------------------------------------------------
//
RESOURCE ARRAY r_psu2_own_number_icon_info_array
    {
    items =
        {
        PBK2_ICON_INFO
            {
            version = 0;
            pbk2IconInfoId = PHONEBOOK2_ICON_ID
                {
                ownerUid = KPbk2USIMExtensionImplementationUID;
                id = EPsu2qgn_prop_nrtyp_phone;
                };
            mbmFileName = AVKON_ICON_FILE;
            iconId = qgn_prop_nrtyp_phone;
            maskId = qgn_prop_nrtyp_phone_mask;
            skinIdMajor = EAknsMajorAvkon;
            skinIdMinor = EAknsMinorQgnPropNrtypPhone;
            }
        };
    }

// End of File
