emailservices/emailstore/message_store/client/inc/MsgStorePropertyContainersArray.h
changeset 0 8466d47a6819
child 8 e1b6206813b4
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     1 /*
       
     2 * Copyright (c) 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:  Message store client property containers array.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef _MSG_STORE_PROPERTY_CONTAINERS_ARRAY_H_
       
    21 #define _MSG_STORE_PROPERTY_CONTAINERS_ARRAY_H_
       
    22 
       
    23 #include "RMessageStoreSession.h"
       
    24 
       
    25 class CMsgStorePropertyContainer;
       
    26 
       
    27 // =========================================
       
    28 // Internal CLASS: TPropertyContainersArray
       
    29 // =========================================
       
    30 class TMsgStorePropertyContainersArray : public MPropertiesArray
       
    31 {
       
    32     public:
       
    33     
       
    34         // ==============
       
    35         // PUBLIC METHODS
       
    36         // ==============
       
    37         
       
    38         TMsgStorePropertyContainersArray( RPointerArray<CMsgStorePropertyContainer>& aContainers );
       
    39         
       
    40         // inherited from MPropertiesArray              
       
    41         virtual void AddElementL( TMsgStoreId aId, TMsgStoreId aParentId, const TDesC8& aProperties );
       
    42         virtual void Reset();        
       
    43         
       
    44     private:
       
    45     
       
    46         // ==================
       
    47         // PRIVATE ATTRIBUTES
       
    48         // ==================
       
    49     
       
    50         RPointerArray<CMsgStorePropertyContainer>& iContainers;
       
    51     
       
    52 }; // end class TMsgStorePropertyContainersArray
       
    53 
       
    54 
       
    55 #endif /*_MSG_STORE_PROPERTY_CONTAINERS_ARRAY_H_*/