wvuing/wvuistorage/inc/MCAStorageInfo.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2005 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:  Variation flag getters of the storage
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MCASTORAGEINFO_H
       
    21 #define MCASTORAGEINFO_H
       
    22 
       
    23 
       
    24 //#include <e32std.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29  *  Contains info about the state of the storage module
       
    30  *
       
    31  *  @lib CAStorage.dll
       
    32  *  @since 3.0
       
    33  */
       
    34 class MCAStorageInfo
       
    35     {
       
    36     public: // Interface
       
    37 
       
    38         /**
       
    39          * Tells if we should show the nickname of the contact.
       
    40          * (It can be brand variated so that the nickname usage
       
    41          * in whole is not supported.)
       
    42          * @return ETrue if nickname should be shown, EFalse otherwise
       
    43          */
       
    44         virtual TBool ShowNickname() = 0;
       
    45 
       
    46         /**
       
    47          * Information of collapse/expande state for contact lists. If locked
       
    48          * contact list cannot be collapsed/expanded. If not then contact list
       
    49          * can be collapsed/expanded.
       
    50          * @return ETrue if collapse/expande is locked, EFalse otherwise.
       
    51          */
       
    52         virtual TBool CollapseLocked() = 0;
       
    53     };
       
    54 
       
    55 #endif      // MCASTORAGEINFO_H
       
    56 
       
    57 // End of File