1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2004-2010 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 "Eclipse Public License v1.0" |
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.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
55 TInt ReadPlatSecSectionL(TSecurityPolicy& aDefaultReadPolicy, TBool& aGotDefaultReadPolicy, |
55 TInt ReadPlatSecSectionL(TSecurityPolicy& aDefaultReadPolicy, TBool& aGotDefaultReadPolicy, |
56 TSecurityPolicy& aDefaultWritePolicy, TBool& aGotDefaultWritePolicy, |
56 TSecurityPolicy& aDefaultWritePolicy, TBool& aGotDefaultWritePolicy, |
57 RRangePolicyArray& aRangePolicies); |
57 RRangePolicyArray& aRangePolicies); |
58 TInt ReadRdPolicyL(TSecurityPolicy& aReadPolicy); |
58 TInt ReadRdPolicyL(TSecurityPolicy& aReadPolicy); |
59 TInt ReadWrPolicyL(TSecurityPolicy& aWritePolicy); |
59 TInt ReadWrPolicyL(TSecurityPolicy& aWritePolicy); |
|
60 #ifdef SYMBIAN_INCLUDE_APP_CENTRIC |
|
61 TInt CheckKeyspaceTypeSectionL(); |
|
62 #endif |
60 TInt ReadOwnerSectionL(TUint32 &aOwnerUID) ; |
63 TInt ReadOwnerSectionL(TUint32 &aOwnerUID) ; |
61 TInt ReadTimeStampSectionL(TTime &aTimeStamp) ; |
64 TInt ReadTimeStampSectionL(TTime &aTimeStamp) ; |
62 TInt ReadDefaultMetaSecSectionL(TUint32& aDefaultMeta, |
65 TInt ReadDefaultMetaSecSectionL(TUint32& aDefaultMeta, |
63 RDefaultMetaArray& aDefaultMetaRanges) ; |
66 RDefaultMetaArray& aDefaultMetaRanges) ; |
64 TInt SkipPlatSecSectionL(); |
67 TInt SkipPlatSecSectionL(); |
128 static CIniFileOut* NewLC(RFs& aFs,const TDesC& aOutFileName); |
131 static CIniFileOut* NewLC(RFs& aFs,const TDesC& aOutFileName); |
129 ~CIniFileOut(); |
132 ~CIniFileOut(); |
130 void CommitL(); |
133 void CommitL(); |
131 |
134 |
132 void WriteHeaderL(); |
135 void WriteHeaderL(); |
|
136 #ifdef SYMBIAN_INCLUDE_APP_CENTRIC |
|
137 void WriteKeyspaceTypeL(TInt8 iKeyspaceType); |
|
138 #endif |
133 void WriteOwnerSectionL(TUid aOwner); |
139 void WriteOwnerSectionL(TUid aOwner); |
134 void WriteTimeStampL(const TTime& aTime); |
140 void WriteTimeStampL(const TTime& aTime); |
135 void WriteMetaDataL(TUint32 aDefaultMeta, |
141 void WriteMetaDataL(TUint32 aDefaultMeta, |
136 const RDefaultMetaArray& aDefaultMetaRanges); |
142 const RDefaultMetaArray& aDefaultMetaRanges); |
137 |
143 |