equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006-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". |
36 iOperationOptions(aFile.OperationOptions()), |
36 iOperationOptions(aFile.OperationOptions()), |
37 iUncompressedLength(aFile.UncompressedLength()), |
37 iUncompressedLength(aFile.UncompressedLength()), |
38 iIndex(aFile.FileIndex()), |
38 iIndex(aFile.FileIndex()), |
39 iSid(aSid) |
39 iSid(aSid) |
40 { |
40 { |
|
41 if((L'z'==aTargetDrive) || (L'Z'==aTargetDrive)) |
|
42 { |
|
43 iTarget[0]='z'; |
|
44 } |
41 const unsigned char* data = aFile.Hash().Blob().Data(); |
45 const unsigned char* data = aFile.Hash().Blob().Data(); |
42 TUint32 len = aFile.Hash().Blob().Size(); |
46 TUint32 len = aFile.Hash().Blob().Size(); |
43 |
47 |
44 std::string hashData((char*)data, len); |
48 std::string hashData((char*)data, len); |
45 |
49 |