equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
166 /** |
166 /** |
167 * Return PathInfo::PhoneMemoryRootPath(). |
167 * Return PathInfo::PhoneMemoryRootPath(). |
168 */ |
168 */ |
169 IMPORT_C static TInt PhoneMemoryRootDriveId(); |
169 IMPORT_C static TInt PhoneMemoryRootDriveId(); |
170 |
170 |
|
171 /** |
|
172 Reserve two ClusterSize in Phone Memory Space on H/W |
|
173 and 512 bytes for __WINS__ |
|
174 @return KErrNone if successful or systemwide error |
|
175 */ |
|
176 IMPORT_C TInt ReservePhoneMemorySpace(); |
|
177 |
|
178 /** |
|
179 Free reserved bytes from Phone Memory Space. If aSpaceToFree is 0 bytes |
|
180 then free complete reserved memory |
|
181 @param aSpaceToFree request to free memory |
|
182 @return KErrNone if successful or systemwide error |
|
183 */ |
|
184 IMPORT_C TInt FreeReservedPhoneMemorySpace(const TInt aSpaceToFree); |
|
185 |
171 private: |
186 private: |
172 |
187 |
173 /** |
188 /** |
174 * Constructor. |
189 * Constructor. |
175 */ |
190 */ |
176 CSsmUiSpecific(); |
191 CSsmUiSpecific(); |
|
192 |
|
193 void ConstructL(); |
177 |
194 |
178 private: // data |
195 private: // data |
179 |
196 |
180 TStrtSecurityStatus iStrtSecurityStatus; |
197 TStrtSecurityStatus iStrtSecurityStatus; |
181 TInt iReferenceCount; |
198 TInt iReferenceCount; |
182 |
199 RFs iReservedPhoneMemoryFs; |
|
200 TInt iReservedPhoneMemory; |
183 }; |
201 }; |
184 |
202 |
185 #endif // SSMUISPECIFIC_H |
203 #endif // SSMUISPECIFIC_H |