mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26:01 +02:00
Add Librarry paths.
This commit is contained in:
parent
119012a5f9
commit
cec7386710
2 changed files with 28 additions and 3 deletions
|
@ -16,8 +16,8 @@ import java.io.File;
|
||||||
public interface ICDISourceManager extends ICDISessionObject
|
public interface ICDISourceManager extends ICDISessionObject
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Set the source search paths for the debu session.
|
* Set the source search paths for the debug session.
|
||||||
* @param String
|
* @param String array of search paths
|
||||||
*/
|
*/
|
||||||
void addSourcePaths(String[] srcPaths) throws CDIException;
|
void addSourcePaths(String[] srcPaths) throws CDIException;
|
||||||
|
|
||||||
|
@ -27,6 +27,18 @@ public interface ICDISourceManager extends ICDISessionObject
|
||||||
*/
|
*/
|
||||||
String[] getSourcePaths() throws CDIException;
|
String[] getSourcePaths() throws CDIException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the shared library search paths for the debu session.
|
||||||
|
* @param String
|
||||||
|
*/
|
||||||
|
void addLibraryPaths(String[] libPaths) throws CDIException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return the array of shared libraries search paths
|
||||||
|
* @return String array of search paths.
|
||||||
|
*/
|
||||||
|
String[] getLibraryPaths() throws CDIException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an array of directories. Returns the empty array
|
* Returns an array of directories. Returns the empty array
|
||||||
* if the source path is empty.
|
* if the source path is empty.
|
||||||
|
|
|
@ -16,7 +16,7 @@ import org.eclipse.cdt.debug.mi.core.MISession;
|
||||||
import org.eclipse.cdt.debug.mi.core.command.CommandFactory;
|
import org.eclipse.cdt.debug.mi.core.command.CommandFactory;
|
||||||
import org.eclipse.cdt.debug.mi.core.command.MIEnvironmentDirectory;
|
import org.eclipse.cdt.debug.mi.core.command.MIEnvironmentDirectory;
|
||||||
import org.eclipse.cdt.debug.mi.core.output.MIInfo;
|
import org.eclipse.cdt.debug.mi.core.output.MIInfo;
|
||||||
import sun.security.krb5.internal.crypto.e;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
|
@ -73,4 +73,17 @@ public class SourceManager extends SessionObject implements ICDISourceManager {
|
||||||
return (String[])sourcePaths.toArray(new String[0]);
|
return (String[])sourcePaths.toArray(new String[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see org.eclipse.cdt.debug.core.cdi.ICDISourceManager#addLibraryPaths(String[])
|
||||||
|
*/
|
||||||
|
public void addLibraryPaths(String[] libPaths) throws CDIException {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see org.eclipse.cdt.debug.core.cdi.ICDISourceManager#getLibraryPaths()
|
||||||
|
*/
|
||||||
|
public String[] getLibraryPaths() throws CDIException {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue