epoc32/include/app/VPbkContactView.rh
branchSymbian3
changeset 4 837f303aceeb
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
       
     1 /*
       
     2 * Copyright (c) 2004-2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Resource strctures for the contact view definitions
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <VPbkContactView.hrh>
       
    20 
       
    21 STRUCT VPBK_CONTACT_VIEW
       
    22     {
       
    23     /// The version of the contact view definition
       
    24     BYTE version = EVPbkContactViewV3;
       
    25     /// Vpbk view id
       
    26     WORD id = KVPbkDefaultViewId;
       
    27     /// URI of the view, used only for leaf nodes.
       
    28     LTEXT uri = "";
       
    29     /// Name of the view. See more detailed description from
       
    30     /// CVPbkContactViewDefinition.h
       
    31     /// NOTE: To see the name of the folded view (EVPbkFoldingView) in 
       
    32     /// list, you must have EVPbkNonVersitTypeGenericLabel
       
    33     /// type in the sort order.
       
    34     LTEXT name = "";
       
    35     /// Type of the view from TVPbkContactViewType enumeration.
       
    36     /// See VPbkContactView.hrh
       
    37     WORD type = EVPbkContactsView;
       
    38     /// Flags from TVPbkContactViewFlags enumeration.
       
    39     /// See VPbkContactView.hrh
       
    40     LONG flags = EVPbkContactViewFlagsNone;
       
    41     /// Sorting policy from TVPbkContactViewSortPolicy enumeration.
       
    42     /// See VPbkContactView.hrh
       
    43     WORD sortPolicy = EVPbkOrderedContactView;
       
    44     /// Sub views of this view.
       
    45     STRUCT subViews[];
       
    46     /// See TVPbkContactViewSharing in VPbkContactView.hrh.
       
    47     /// See CVPbkContactViewDefinition.h
       
    48     /// This is a EVPbkContactViewV2 field.
       
    49     WORD viewSharing = EVPbkViewSharingUndefined;
       
    50     }
       
    51 
       
    52 // End of File