diff -r 675a964f4eb5 -r 35751d3474b7 cryptomgmtlibs/securityutils/inc/euserext.h --- a/cryptomgmtlibs/securityutils/inc/euserext.h Tue Jul 21 01:04:32 2009 +0100 +++ b/cryptomgmtlibs/securityutils/inc/euserext.h Thu Sep 10 14:01:51 2009 +0300 @@ -1,70 +1,68 @@ -/* -* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of the License "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: -* -*/ - - - - - - -/** - @file - @internalTechnology -*/ - -#ifndef __EUSEREXT_H__ -#define __EUSEREXT_H__ - - -/** An RRArray subclass intended to hold R classes. - * - * When you call close on an RRArray it will do the sane thing and - * call close on all the R Class objects inside it. - * - * @internalTechnology - */ -template class RRArray : public RArray - { -public: - /** Constructor */ - inline RRArray(); - inline RRArray(TUint aGranularity); - /** Free all resources, calling Close() on the each element in the array */ - inline void Close(); - }; - -template -inline RRArray::RRArray() - { - } - -template -inline RRArray::RRArray(TUint aGranularity) : RArray(aGranularity) - { - } - -template -inline void RRArray::Close() - { - TInt count = RArray::Count(); - for(TInt ii = 0; ii < count; ii++) - { - (*this)[ii].Close(); - } - RArray::Close(); - } - -#endif +/* +* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "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: +* +*/ + + + + +/** + @file + @internalTechnology +*/ + +#ifndef __EUSEREXT_H__ +#define __EUSEREXT_H__ + + +/** An RRArray subclass intended to hold R classes. + * + * When you call close on an RRArray it will do the sane thing and + * call close on all the R Class objects inside it. + * + * @internalTechnology + */ +template class RRArray : public RArray + { +public: + /** Constructor */ + inline RRArray(); + inline RRArray(TUint aGranularity); + /** Free all resources, calling Close() on the each element in the array */ + inline void Close(); + }; + +template +inline RRArray::RRArray() + { + } + +template +inline RRArray::RRArray(TUint aGranularity) : RArray(aGranularity) + { + } + +template +inline void RRArray::Close() + { + TInt count = RArray::Count(); + for(TInt ii = 0; ii < count; ii++) + { + (*this)[ii].Close(); + } + RArray::Close(); + } + +#endif