1 /* |
1 /* |
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2004-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 the License "Eclipse Public License v1.0" |
5 * under the terms of the License "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". |
44 static HBufC* BuildUninstallLogFileNameLC(TUid aUid, TInt aIndex, TChar aDriveLetter); |
44 static HBufC* BuildUninstallLogFileNameLC(TUid aUid, TInt aIndex, TChar aDriveLetter); |
45 static HBufC* BuildControllerFileNameLC(TUid aUid, TInt aIndex, TInt aController); |
45 static HBufC* BuildControllerFileNameLC(TUid aUid, TInt aIndex, TInt aController); |
46 static HBufC* BuildControllerFileNameLC(TUid aUid, TInt aIndex, TInt aController, TInt aDrive); |
46 static HBufC* BuildControllerFileNameLC(TUid aUid, TInt aIndex, TInt aController, TInt aDrive); |
47 static HBufC* BuildStubFilesPathLC(TInt aDrive); |
47 static HBufC* BuildStubFilesPathLC(TInt aDrive); |
48 static void EnsureDirExistsL(RFs& aFs, const TDesC& aPath); |
48 static void EnsureDirExistsL(RFs& aFs, const TDesC& aPath); |
|
49 static void CreateFileWithAttributesL(RFs& aFs, const TDesC& aPath, const TUint aAttributesMask = 0); |
|
50 static TInt DeleteFile(RFs& aFs, const TDesC& aPath); |
49 static TBool RomBasedPackageL(const TUid& aUid); |
51 static TBool RomBasedPackageL(const TUid& aUid); |
50 static HBufC* BuildLogFileNameLC(); |
52 static HBufC* BuildLogFileNameLC(); |
51 static TUid IdentifyUidFromSisFileL(RFs& aFs, TDesC& aFilename); |
53 static TUid IdentifyUidFromSisFileL(RFs& aFs, TDesC& aFilename); |
52 |
54 |
53 // IPC helper methods |
55 // IPC helper methods |