blob: 02889fe188ebb3269b888240663e323722321dfe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/*******************************************************************************
* Copyright (c) 2006, 2010 Siemens AG.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*******************************************************************************/
package org.eclipse.cdt.managedbuilder.core;
import org.eclipse.core.runtime.IPath;
/**
* An IOptionPathConverter converts between tool-specific paths
* and their platform locations
*
* @noextend This class is not intended to be subclassed by clients.
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface IOptionPathConverter {
/**
* Convert from a tool specific path to a platform location, e.g.
* "/usr/include" for a Cygwin tool gets converted to
* "c:\\cygwin\\usr\\include"
* @param toolSpecificPath The string representation of the tool-specific path
* @param option TODO
* @param tool TODO
* @return A path which is a meaningful platform location
* or null, if the conversion fails.
*/
IPath convertToPlatformLocation(String toolSpecificPath, IOption option, ITool tool);
}
|