0
|
1 |
/*
|
|
2 |
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
package com.nokia.s60tools.util.sourcecode;
|
|
19 |
|
|
20 |
import java.util.Collection;
|
|
21 |
|
|
22 |
/**
|
|
23 |
* Interface for finding source file locations by ordinal and/or method name.
|
|
24 |
*/
|
|
25 |
public interface ISourcesFinder {
|
|
26 |
|
|
27 |
/**
|
|
28 |
* Finds all source files belonging to selected DLL.
|
|
29 |
* @param dllName DLL name.
|
|
30 |
* @param variant Build variant.
|
|
31 |
* @param build Build type (urel/udeb).
|
|
32 |
* @param epocRootPath EPOCROOT path.
|
|
33 |
* @throws CannotFoundFileException if something unexpected occurs
|
|
34 |
* @return source file names with full paths found belonging to DLL.
|
|
35 |
*/
|
|
36 |
public String [] findSourceFiles(String dllName,
|
|
37 |
String variant, String build, String epocRootPath) throws CannotFoundFileException;
|
|
38 |
|
|
39 |
/**
|
|
40 |
* Finds all source files belonging to selected DLL.
|
|
41 |
* @param dllName DLL name.
|
|
42 |
* @param epocRootPath EPOCROOT path.
|
|
43 |
* @param pathsToSeekMapFile Collection of path names to seek map file from
|
|
44 |
* @return source file names along with paths belonging to given DLL.
|
|
45 |
* @throws CannotFoundFileException if something unexpected occurs.
|
|
46 |
*/
|
|
47 |
public String[] findSourceFiles(String dllName,
|
|
48 |
String epocRootPath, Collection<String> pathsToSeekMapFile
|
|
49 |
) throws CannotFoundFileException;
|
|
50 |
}
|