Update contrib.
1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // f32\sfile\sf_pool.h
30 static CFsPool<T>* New(TInt aPoolSize);
34 * Allocate returns a pointer of class T.
35 * The pointer returned is removed from the pool.
36 * When the pool is empty this function will wait.
41 * Following a call to Allocate,
42 * Free teturns an object-pointer of type T to the pool.
47 TInt Construct(TInt aPoolSize);
53 RPointerArray<T> iFreeList;
56 #endif /* SF_POOL_H_ */