Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 14f2f21c996a166954c4f2aa721ac61b646920f8 (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
38
39
40
41
/*******************************************************************************
 * Copyright (c) 2017 QNX Software Systems and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *******************************************************************************/
package org.eclipse.cdt.core.build;

import org.eclipse.core.runtime.CoreException;

/**
 * A toolchain provider that is managed by the user. The user can manually add
 * and remove toolchains.
 * 
 * It is the responsibility of the provider to manage persistence and to
 * populate the toolchains with the toolchain manager.
 * 
 * @since 6.4
 */
public interface IUserToolChainProvider extends IToolChainProvider {

	/**
	 * Manually add a toolchain to be managed by this provider.
	 * 
	 * @param toolChain
	 *            toolchain to be added
	 * @since 6.4
	 */
	void addToolChain(IToolChain toolChain) throws CoreException;

	/**
	 * Manually remove a toolchain managed by this provider.
	 * 
	 * @param toolChain
	 *            toolchain to be removed
	 * @throws CoreException
	 */
	void removeToolChain(IToolChain toolChain) throws CoreException;

}

Back to the top