1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
This commit is contained in:
Andrew Gvozdev 2011-12-17 12:14:36 -05:00
parent afa71216dd
commit 3429983cb4
2 changed files with 13 additions and 8 deletions

View file

@ -25,10 +25,6 @@ import org.eclipse.cdt.internal.core.language.settings.providers.LanguageSetting
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
/**
* TODO fProvider is going to be deprecated in favor of {@link LanguageSettingsScannerInfoProvider}.
*
*/
public class ScannerInfoProviderProxy extends AbstractCExtensionProxy implements IScannerInfoProvider, IScannerInfoChangeListener{
private Map<IProject, List<IScannerInfoChangeListener>> listeners;
private IScannerInfoProvider fProvider;

View file

@ -15,13 +15,22 @@ import org.eclipse.cdt.core.settings.model.ICConfigurationDescription;
import org.eclipse.core.runtime.CoreException;
/**
* TODO - this interface assumes configuration description. CDT project
* can be without configurations, in that case IProject should be passed
* to startup somehow. Perhaps another interface "IPConsoleParser" could
* be created when needed?
* Console parser interface extended to support configurations.
*
* @since 5.4
*/
public interface ICConsoleParser extends IConsoleParser {
/**
* Initialize console parser.
*
* @param cfgDescription - configuration description for the parser.
* @throws CoreException if anything goes wrong.
*/
public void startup(ICConfigurationDescription cfgDescription) throws CoreException;
@Override
public boolean processLine(String line);
@Override
public void shutdown();
}