1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-02 13:13:36 +02:00

Moving shared library features from mi to CDI.

Added new methods to ICDISharedLibraryManager:
- isAutoLoadSymbols
- isStopOnSolibEvents
- setAutoLoadSymbols
- setStopOnSolibEvents
- supportsAutoLoadSymbols
	- supportsStopOnSolibEvents
This commit is contained in:
Mikhail Khodjaiants 2003-08-29 21:21:45 +00:00
parent ae82c8efca
commit 75d00906d9

View file

@ -25,7 +25,7 @@ public interface ICDISharedLibraryManager extends ICDIManager {
ICDISharedLibrary[] getSharedLibraries() throws CDIException; ICDISharedLibrary[] getSharedLibraries() throws CDIException;
/** /**
* load symbols for the specified shared libraries. * Loads symbols for the specified shared libraries.
* *
* @return the array of loaded shared libraries * @return the array of loaded shared libraries
* @throws CDIException on failure. Reasons include: * @throws CDIException on failure. Reasons include:
@ -33,7 +33,7 @@ public interface ICDISharedLibraryManager extends ICDIManager {
void loadSymbols(ICDISharedLibrary[] libs) throws CDIException; void loadSymbols(ICDISharedLibrary[] libs) throws CDIException;
/** /**
* load symbols of all the shared libs. * Loads symbols of all shared libraries.
* *
* @return the array of loaded shared libraries * @return the array of loaded shared libraries
* @throws CDIException on failure. Reasons include: * @throws CDIException on failure. Reasons include:
@ -41,19 +41,64 @@ public interface ICDISharedLibraryManager extends ICDIManager {
void loadSymbols() throws CDIException; void loadSymbols() throws CDIException;
/** /**
* return the search paths for shared libraries. * Returns the search paths for shared libraries.
* *
* @return String[] * @return the array of the search paths
* @throws CDIException * @throws CDIException
*/ */
String[] getSharedLibraryPaths() throws CDIException; String[] getSharedLibraryPaths() throws CDIException;
/** /**
* Reset the shared libs paths to libpaths. * Sets the shared libs paths to libpaths.
* @param libpaths *
* @param array of search paths
* @throws CDIException * @throws CDIException
*/ */
void setSharedLibraryPaths(String[] libpaths) throws CDIException; void setSharedLibraryPaths(String[] libpaths) throws CDIException;
/**
* Sets the "automatically load symbols from shared libraries" mode.
*
* @param set
* @throws CDIException
*/
void setAutoLoadSymbols(boolean set) throws CDIException;
/**
* Returns the current autoloading mode.
*
* @return the current autoloading mode
* @throws CDIException
*/
boolean isAutoLoadSymbols() throws CDIException;
/**
* Returns whether this manager supports autoloading.
*
* @return whether this manager supports autoloading
*/
boolean supportsAutoLoadSymbols();
/**
* Sets the "stop on shared library events" mode.
*
* @param set
* @throws CDIException
*/
void setStopOnSolibEvents(boolean set) throws CDIException;
/**
* Returns the current mode of shared library events handling.
*
* @return the current mode of shared library events handling
* @throws CDIException
*/
boolean isStopOnSolibEvents() throws CDIException;
/**
* Returns whether this manager supports shared library events handling.
*
* @return whether this manager supports shared library events handling
*/
boolean supportsStopOnSolibEvents();
} }