epoc32/include/app/VPbkContactView.rh
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/app/VPbkContactView.rh	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,52 @@
     1.4 +/*
     1.5 +* Copyright (c) 2004-2007 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of "Eclipse Public License v1.0"
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description:  Resource strctures for the contact view definitions
    1.18 +*
    1.19 +*/
    1.20 +
    1.21 +
    1.22 +#include <VPbkContactView.hrh>
    1.23 +
    1.24 +STRUCT VPBK_CONTACT_VIEW
    1.25 +    {
    1.26 +    /// The version of the contact view definition
    1.27 +    BYTE version = EVPbkContactViewV3;
    1.28 +    /// Vpbk view id
    1.29 +    WORD id = KVPbkDefaultViewId;
    1.30 +    /// URI of the view, used only for leaf nodes.
    1.31 +    LTEXT uri = "";
    1.32 +    /// Name of the view. See more detailed description from
    1.33 +    /// CVPbkContactViewDefinition.h
    1.34 +    /// NOTE: To see the name of the folded view (EVPbkFoldingView) in 
    1.35 +    /// list, you must have EVPbkNonVersitTypeGenericLabel
    1.36 +    /// type in the sort order.
    1.37 +    LTEXT name = "";
    1.38 +    /// Type of the view from TVPbkContactViewType enumeration.
    1.39 +    /// See VPbkContactView.hrh
    1.40 +    WORD type = EVPbkContactsView;
    1.41 +    /// Flags from TVPbkContactViewFlags enumeration.
    1.42 +    /// See VPbkContactView.hrh
    1.43 +    LONG flags = EVPbkContactViewFlagsNone;
    1.44 +    /// Sorting policy from TVPbkContactViewSortPolicy enumeration.
    1.45 +    /// See VPbkContactView.hrh
    1.46 +    WORD sortPolicy = EVPbkOrderedContactView;
    1.47 +    /// Sub views of this view.
    1.48 +    STRUCT subViews[];
    1.49 +    /// See TVPbkContactViewSharing in VPbkContactView.hrh.
    1.50 +    /// See CVPbkContactViewDefinition.h
    1.51 +    /// This is a EVPbkContactViewV2 field.
    1.52 +    WORD viewSharing = EVPbkViewSharingUndefined;
    1.53 +    }
    1.54 +
    1.55 +// End of File