contentstorage/cautils/inc/caentriesarray.h
author hgs
Mon, 20 Sep 2010 10:22:22 +0300
changeset 119 50e220be30d1
parent 85 7feec50967db
permissions -rw-r--r--
201037
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
85
7feec50967db 201003_02
hgs
parents:
diff changeset
     1
/*
7feec50967db 201003_02
hgs
parents:
diff changeset
     2
 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
7feec50967db 201003_02
hgs
parents:
diff changeset
     3
 * All rights reserved.
7feec50967db 201003_02
hgs
parents:
diff changeset
     4
 * This component and the accompanying materials are made available
7feec50967db 201003_02
hgs
parents:
diff changeset
     5
 * under the terms of "Eclipse Public License v1.0"
7feec50967db 201003_02
hgs
parents:
diff changeset
     6
 * which accompanies this distribution, and is available
7feec50967db 201003_02
hgs
parents:
diff changeset
     7
 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
7feec50967db 201003_02
hgs
parents:
diff changeset
     8
 *
7feec50967db 201003_02
hgs
parents:
diff changeset
     9
 * Initial Contributors:
7feec50967db 201003_02
hgs
parents:
diff changeset
    10
 * Nokia Corporation - initial contribution.
7feec50967db 201003_02
hgs
parents:
diff changeset
    11
 *
7feec50967db 201003_02
hgs
parents:
diff changeset
    12
 * Contributors:
7feec50967db 201003_02
hgs
parents:
diff changeset
    13
 *
7feec50967db 201003_02
hgs
parents:
diff changeset
    14
 * Description:  ?Description
7feec50967db 201003_02
hgs
parents:
diff changeset
    15
 *
7feec50967db 201003_02
hgs
parents:
diff changeset
    16
 */
7feec50967db 201003_02
hgs
parents:
diff changeset
    17
7feec50967db 201003_02
hgs
parents:
diff changeset
    18
#ifndef __CAENTRIESARRAY_H__
7feec50967db 201003_02
hgs
parents:
diff changeset
    19
#define __CAENTRIESARRAY_H__
7feec50967db 201003_02
hgs
parents:
diff changeset
    20
7feec50967db 201003_02
hgs
parents:
diff changeset
    21
#include <e32base.h>
7feec50967db 201003_02
hgs
parents:
diff changeset
    22
7feec50967db 201003_02
hgs
parents:
diff changeset
    23
//FORWARD DECLARATIONS
7feec50967db 201003_02
hgs
parents:
diff changeset
    24
class RWriteStream;
7feec50967db 201003_02
hgs
parents:
diff changeset
    25
class RReadStream;
7feec50967db 201003_02
hgs
parents:
diff changeset
    26
class CCaInnerEntry;
7feec50967db 201003_02
hgs
parents:
diff changeset
    27
/**
7feec50967db 201003_02
hgs
parents:
diff changeset
    28
 * Entries array.
7feec50967db 201003_02
hgs
parents:
diff changeset
    29
 *  @lib camenu.lib
7feec50967db 201003_02
hgs
parents:
diff changeset
    30
 *  @since S60 v5.0
7feec50967db 201003_02
hgs
parents:
diff changeset
    31
 */
7feec50967db 201003_02
hgs
parents:
diff changeset
    32
NONSHARABLE_CLASS( RCaEntriesArray ): public RPointerArray<CCaInnerEntry>
7feec50967db 201003_02
hgs
parents:
diff changeset
    33
    {
7feec50967db 201003_02
hgs
parents:
diff changeset
    34
public:
7feec50967db 201003_02
hgs
parents:
diff changeset
    35
7feec50967db 201003_02
hgs
parents:
diff changeset
    36
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
    37
     * Externalizes array to the stream
7feec50967db 201003_02
hgs
parents:
diff changeset
    38
     * @param aStream a write stream
7feec50967db 201003_02
hgs
parents:
diff changeset
    39
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
    40
    IMPORT_C void ExternalizeL( RWriteStream& aStream ) const;
7feec50967db 201003_02
hgs
parents:
diff changeset
    41
7feec50967db 201003_02
hgs
parents:
diff changeset
    42
    /**
7feec50967db 201003_02
hgs
parents:
diff changeset
    43
     * Internalizes stream to the array
7feec50967db 201003_02
hgs
parents:
diff changeset
    44
     * @param aStream a read stream
7feec50967db 201003_02
hgs
parents:
diff changeset
    45
     */
7feec50967db 201003_02
hgs
parents:
diff changeset
    46
    IMPORT_C void InternalizeL( RReadStream& aStream );
7feec50967db 201003_02
hgs
parents:
diff changeset
    47
7feec50967db 201003_02
hgs
parents:
diff changeset
    48
    };
7feec50967db 201003_02
hgs
parents:
diff changeset
    49
7feec50967db 201003_02
hgs
parents:
diff changeset
    50
#endif // __CAENTRIESARRAY_H__