1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

Add Librarry paths.

This commit is contained in:
Alain Magloire 2002-09-23 18:57:00 +00:00
parent 119012a5f9
commit cec7386710
2 changed files with 28 additions and 3 deletions

View file

@ -16,8 +16,8 @@ import java.io.File;
public interface ICDISourceManager extends ICDISessionObject
{
/**
* Set the source search paths for the debu session.
* @param String
* Set the source search paths for the debug session.
* @param String array of search paths
*/
void addSourcePaths(String[] srcPaths) throws CDIException;
@ -27,6 +27,18 @@ public interface ICDISourceManager extends ICDISessionObject
*/
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
* if the source path is empty.

View file

@ -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.MIEnvironmentDirectory;
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]);
}
/**
* @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;
}
}