persistentstorage/store/INC/S32FILEBUFSIZE.H
author hgs
Fri, 14 May 2010 13:32:10 +0100
changeset 28 7a522c0700d3
parent 0 08ec8eefde2f
permissions -rw-r--r--
201019_09

// Copyright (c) 2009 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:
//

#ifndef S32FILEBUFSIZE_H
#define S32FILEBUFSIZE_H

#ifndef DEFAULT_FILE_BUF_SIZE
    #define DEFAULT_FILE_BUF_SIZE 16384

#else
	#if DEFAULT_FILE_BUF_SIZE < 1536
		#error "DEFAULT_FILE_BUF_SIZE macro value can't be less than 1536"
	#endif
#endif

/** 
The default size of the file buffer. 
@internalComponent
*/
const TInt KDefaultFileBufSize=DEFAULT_FILE_BUF_SIZE;

#endif