Update contrib.
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
26 #ifndef __EUSEREXT_H__
27 #define __EUSEREXT_H__
30 /** An RRArray subclass intended to hold R classes.
32 * When you call close on an RRArray it will do the sane thing and
33 * call close on all the R Class objects inside it.
37 template<class T> class RRArray : public RArray<T>
42 inline RRArray(TUint aGranularity);
43 /** Free all resources, calling Close() on the each element in the array */
48 inline RRArray<T>::RRArray()
53 inline RRArray<T>::RRArray(TUint aGranularity) : RArray<T>(aGranularity)
58 inline void RRArray<T>::Close()
60 TInt count = RArray<T>::Count();
61 for(TInt ii = 0; ii < count; ii++)