contentstorage/cautils/inc/caidsarray.h
author hgs
Fri, 06 Aug 2010 13:40:46 +0300
changeset 107 b34d53f6acdf
parent 85 7feec50967db
permissions -rw-r--r--
201031

/*
 * Copyright (c) 2008 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:  ?Description
 *
 */

#ifndef __CCAIDSARRAY_H__
#define __CCAIDSARRAY_H__

#include <e32base.h>

//FORWARD DECLARATIONS
class RWriteStream;
class RReadStream;

/**
 * Entries array.
 *  @lib camenu.lib
 *  @since S60 v5.0
 */
NONSHARABLE_CLASS( RCaIdsArray ): public RArray<TInt>
    {
public:

    /**
     * Externalizes array to the stream
     * @param aStream a write stream
     */
    IMPORT_C void ExternalizeL( RWriteStream& aStream ) const;

    /**
     * Internalizes stream to the array
     * @param aStream a read stream
     */
    IMPORT_C void InternalizeL( RReadStream& aStream );

    /**
     * Marshals serialized data
     * @return descriptor containing serialized RCaIdsArray object
     */
    IMPORT_C HBufC8* MarshalDataLC() const;

    };
#endif // __CCAIDSARRAY_H__