Update contrib.
1 // Copyright (c) 1996-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.
24 #if !defined(__COMMON_H__)
26 #if !defined(__F32FILE_H__)
33 // Common constants used by both EFSRV and the filesystems
39 A bit mask representing a volume and file attribute combination.
41 It represents a set of attributes that must not be set, unset or used
42 in calls to RFile::Set() and CMountCB::MatchEntryAtt().
44 @see CMountCB::MatchEntryAtt()
47 const TUint KEntryAttIllegal=(KEntryAttVolume|KEntryAttDir);
52 A file attribute that marks the file as having been modified. This is an indication
53 that the file is modified but the modifications are not yet committed.
57 const TUint KEntryAttModified=0x20000000;
62 Defines a criteria that states that an entry must be a file.
64 This can be used in calls to CMountCB::MatchEntryAtt().
66 @see CMountCB::MatchEntryAtt()
68 const TUint KEntryAttMustBeFile=0x80000000;
73 Indicates that data is to be read from the current read position when
74 passed to any of the Read() overloaded functions of RFile.
76 This is maintained for BC. File server and file server client library, internally,
77 use KCurrentPosition64 for indicating a read / write request from current file position.
80 @see KCurrentPosition64
82 const TInt KCurrentPosition=KMinTInt;
86 Indicates that data is to be read from the current read position when
87 passed to any of the Read() overloaded functions of RFile.
93 const TInt64 KCurrentPosition64=(TInt64)KMaxTUint64;