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". |
42 static HBufC* BuildEntryFileNameLC(TUid aUid, TInt aIndex); |
42 static HBufC* BuildEntryFileNameLC(TUid aUid, TInt aIndex); |
43 static HBufC* BuildUninstallLogPathLC(TUid aUid, TInt aIndex, TChar aDriveLetter); |
43 static HBufC* BuildUninstallLogPathLC(TUid aUid, TInt aIndex, TChar aDriveLetter); |
44 static HBufC* BuildControllerFileNameLC(TUid aUid, TInt aIndex, TInt aController); |
44 static HBufC* BuildControllerFileNameLC(TUid aUid, TInt aIndex, TInt aController); |
45 static HBufC* BuildControllerFileNameLC(TUid aUid, TInt aIndex, TInt aController, TInt aDrive); |
45 static HBufC* BuildControllerFileNameLC(TUid aUid, TInt aIndex, TInt aController, TInt aDrive); |
46 static void EnsureDirExistsL(RFs& aFs, const TDesC& aPath); |
46 static void EnsureDirExistsL(RFs& aFs, const TDesC& aPath); |
|
47 static void CreateFileWithAttributesL(RFs& aFs, const TDesC& aPath, const TUint aAttributesMask = 0); |
|
48 static TInt DeleteFile(RFs& aFs, const TDesC& aPath); |
47 static TBool RomBasedPackageL(const TUid& aUid); |
49 static TBool RomBasedPackageL(const TUid& aUid); |
48 static HBufC* BuildLogFileNameLC(); |
50 static HBufC* BuildLogFileNameLC(); |
49 |
51 |
50 private: |
52 private: |
51 static TBool CheckIfMatchingStubPUidL(const TUid& aUid, RFs& aFileServer, const TFileName& aStubFileName); |
53 static TBool CheckIfMatchingStubPUidL(const TUid& aUid, RFs& aFileServer, const TFileName& aStubFileName); |