equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2008-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". |
43 |
43 |
44 /** Checks if the two input filenames are variants of each other (belong to the same adorned name "family") |
44 /** Checks if the two input filenames are variants of each other (belong to the same adorned name "family") |
45 @param aFileName1 first name to compare (full path and name) |
45 @param aFileName1 first name to compare (full path and name) |
46 @param aFileName2 second name to compare (full path and name) |
46 @param aFileName2 second name to compare (full path and name) |
47 */ |
47 */ |
|
48 #ifndef __TOOLS2_LINUX__ |
48 bool IsAdornedVariationOf(const std::wstring& aFileName1, const std::wstring& aFileName2); |
49 bool IsAdornedVariationOf(const std::wstring& aFileName1, const std::wstring& aFileName2); |
|
50 #else |
|
51 bool IsAdornedVariationOf(const std::wstring& aFileName1, const std::wstring& aFileName2, const std::wstring& aDrivePath); |
|
52 #endif |
49 |
53 |
50 /** Searches through the file system looking for all variants of searchNameWild |
54 /** Searches through the file system looking for all variants of searchNameWild |
51 @param aSearchNameWild represents the filename pattern that is to be searched for (i.e: afile{????????}.ext) |
55 @param aSearchNameWild represents the filename pattern that is to be searched for (i.e: afile{????????}.ext) |
52 @param aSearchPath represents the path to be searched through on all drives (i.e: \sys\bin\) |
56 @param aSearchPath represents the path to be searched through on all drives (i.e: \sys\bin\) |
53 @param aAdornedFileNamesFound all files matching the pattern are returned in this array (contains fully qualified filenames i.e. full path+name+ext) |
57 @param aAdornedFileNamesFound all files matching the pattern are returned in this array (contains fully qualified filenames i.e. full path+name+ext) |