epoc32/include/s32file.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    20 #endif
    20 #endif
    21 #if !defined(__S32STOR_H__)
    21 #if !defined(__S32STOR_H__)
    22 #include <s32stor.h>
    22 #include <s32stor.h>
    23 #endif
    23 #endif
    24 
    24 
    25 #ifndef DEFAULT_FILE_BUF_SIZE
    25 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS 
    26 	#define DEFAULT_FILE_BUF_SIZE 4096
    26 	#include <s32filebufsize.h>
    27 #else
       
    28 	#if DEFAULT_FILE_BUF_SIZE < 1536
       
    29 		#error "DEFAULT_FILE_BUF_SIZE macro value can't be less than 1536"
       
    30 	#endif
       
    31 #endif
    27 #endif
    32 /** 
       
    33 The default size of the file buffer. 
       
    34 @internalComponent
       
    35 */
       
    36 const TInt KDefaultFileBufSize=DEFAULT_FILE_BUF_SIZE;
       
    37 
    28 
    38 template <class T>
    29 template <class T>
    39 class TCapture;
    30 class TCapture;
    40 class RPermanentFileStoreIter;
    31 class RPermanentFileStoreIter;
    41 
    32